To create the initial test model for the Equivalence Class Partitioning devmate parses your code. During parsing it will collect all required type information and adds it to the test model. To trigger this process just put the cursor somewhere in the header or body of the method you want to test and right-click to open the context menu. Select item “Test with Equivalence Class Method” at the bottom of the menu. Now devmate collects all needed information and asks you where to store the data (*.tmdl file)

By storing the model data in your project along with your source code devmate blends into your software development process. You can use any software configuration management tool (e.g. Git) to manage devmate‘s test models.It is important that you put the file somewhere in one of your solution’s projects. We recommend to put it in the same folder as the unit test code that will be generated from the model.
After selecting the storage location the Equivalence Class Editor opens and presents the initial model in a table. The first line shows the methods name and return type. The following lines contain the input factors (one per line). Since AverageSpeed is a non-static method the first input factor is the object that receives the method call. After that there is one input factor per formal parameter. In our example these are duration and track.
