The test project would ideally be a new project (and model) inside the package we are testing. Each package should have one test project, and, if writing user interface tests, we should have one form adapters also.
Creating a Unit Test project
Getting ready
Open the project that we intend to write tests for.
How to do it...
To create the unit test project, follow these steps:
- Select Dynamics 365 for Operations | Create model from the top menu and complete the Create model form as follows:
Field |
Value |
Model name |
ConWHSVehicleManagementTest |
Model publisher |
Contoso IT |
Layer |
VAR |
Model description... |