D E V M A T E

Loading

Parse Code

You are here:
Estimated reading time: 1 min

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.

Was this article helpful?
Dislike 0
Views: 11

Continue reading

Previous: Define Equivalence Classes
Next: User Guide

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Privacy Settings saved!
Privacy Settings

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.

GetResponse, Google Analytics

We use Google Analytics for marketing purposes. You can disable these cookies.
  • __utmz
  • __utma
  • _ga
  • _gat

We use GetResponse for marketing purposes. This service cannot be disabled, otherwise the website functions will be limited.

Decline all Services
Accept all Services
Get Free Access Now to
9 eBooks!
All about Automated Software Testing
Proven experts
Learn to save up to 75% of your test efforts
Get Free Access Now!
Get Access Now! & Save 50%
Personal Trainer FREE Nutrition Custom Workout App
Get Access Now!
eBook Download
Enter your details to get your free ebook!
All about Automated Software Testing
Download Free Ebook
SUBSCRIBE
MY WEB
NEWSLETTERS
Lorem ipsum dolor sit amet, consectetur adipiscing