To create the ATL specification class for a table, follow these steps:
- Open the ConVMSVehicleGroup table in the designer.
- Right-click on the root, table, and node and choose Add-ins | Generate Atl Specification.
- This will open the following dialog:
- The methods we're adding here are specifications, which are the criterion for a successful test. Since we are going to test that the vehicle group ID is what is expected, add this field. Do this by selecting VehicleGroupId on the left and clicking Add.
- Ensure that the Destination model is correct, and then click Generate to create the class. In the following dialog, choose Add to ...