You asked, we answered

Installation 3 questions
Misc 4 questions
Using devmate 17 questions
  • How do I check for side effects?

    Every method parameter that is annotated by ‘ref’ or ‘out’ in C# can potentially have side effects within the method execution. Because of that devmate allows you to check for potential side effects. Each test case therfore has a field ‘Expected Side Effects’.

    In the side effects dialog you can check which reference input parameter should be checked for side effects and set the expected value that this parameter should have after the execution of the method.

  • How do I create a Boilerplate template?

    Choose a method for which you would like to create a boilerplate template. Right click on it and choose ‘Create Boilerplate with devmate’. Select the favoured unit testing framework (XUnit, NUnit, MSTest).

  • Which unit testing frameworks does devmate support?

    devmate currently supports XUnit, NUnit and MSTest.

  • I closed the introduction video tab. How can I reopen it?

    Click in the top task bar in Visual Studio on Extensions>devmate>Introduction Video.

  • Why can’t I define expected side effects?

    Expected side effects for a test case can only be defined if your test case has a selected representative for each input factor.

  • “Generate Test Case” does not work?

    Generating test cases requires at least one positive equivalence class for each input parameter and at least one representative for each equivalence class.

  • How can I set a char variable to a non-alphanumeric character?

    Characters can be passed in two ways. You can either enter a character under single-quotes (e.g. ‘2’) or you can enter the numeric value of a character (e.g. 50). A non-alphanumeric character can only be passed by its numeric value.

  • How can I set a string parameter to null?

    You can set the value of a string to null by entering the text null. If you want to pass the string “null”, enter the text “null” (with the quotes).

  • How do I generate XUnit or MSTest Unit Tests?

    You can switch to the desired framework by clicking on the gear icon next to the “Generate Test Code” button.

  • Should I add the generated test code to my VCS?

    Yes. We encourage you to check-in the test code into your VCS. devmate allows you to modify generated code and merge any changes in the test model upon newly generating code. You just have to make sure not to touch the test-data in the code itself or dramatically changing the structure of the code.

  • How do I generate tests with devmate?

    To generate tests with devmate you have to do three steps.

    • First you generate a test model for a method by right clicking into the method and choosing ‘Test with devmate’. devmate should open.
    • Here you perform the second step. Add input factors, equivalence classes, representatives and use them to generate test cases. For each test case you have to enter the expected value and possible exceptions that are thrown. Optional you can also check for side effects.
    • The final step is to generate test code. First select for which framework you want to generate test code (XUnit, NUnit, MSTest). Then click the ‘Generate Test Code’ button in the equivalence class editor.

  • How do I perform asserts on input parameter?

    We currently don’t support checking of input parameters.

  • How do I check for exceptions that are thrown?

    Every method can potentially throw exceptions. For each test case you can therefore define an exception as a potential return value in the footer of each test case next to the ‘Throws:’ label.

  • What is a .tmdl file?

    The tmdl file (short for test model file) contains the data for the method you want to test. It includes input factors, equivalence classes, representatives and test cases with all it’s values and properties.

    Edit it in the user interface of devmate in you development environment (e.g. Visual Studio or IntelliJ).

    Avoid manual editing of the .tmdl file because the file structure may be broken and devmate will will no longer work correctly!

  • What is equivalence class partitioning?

    Equivalence class partitioning is a software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived. https://en.wikipedia.org/wiki/Equivalence_partitioning

  • Why can’t I create a test model?

    You can create a test model by doing a right click inside a method. Select ‘Test with devmate’. We do not yet support:

    • getters and setters for properties
    • async methods
  • What is a test model?

    From a method you can open an editor in which you can define equivalence classes, representatives and test cases. This information is called test model.

No questions matching current filter

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 LinkedIn Insight for marketing purposes. You can disable these cookies.

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
Lorem ipsum dolor sit amet, consectetur adipiscing