chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Answers. Here you can ask and receive answers from other community members. And if you liked or disliked an answer or thread: react with an up- or downvote Enjoy!

Selected test framework is neglected by Suggest

+1 vote
TM Suggest ignores the selected test framework: e.g. if MSTest is selected, the generated tests still add the \"using NUnit\"
asked Sep 25 by Dmitriy (610 points)

1 Answer

0 votes
Hey,

The type of the test framework in Visual Studio is selected in Typemock\\\\\\\\Options\\\\\\\\Typemock\\\\\\\\Tests Suggestions\\\\\\\\Solution Settings\\\\\\\\Unit test framework combobox. When the TM Suggest is first run and a user saves the output, the generated tests are saved on the test project with the Using\" statements, class and method test attributes corresponding to the selected test framework (the default is NUnit). If the user decides to run the TM Suggest again on the same project at some point in the future, switches the test framework to another one, and saves the tests the generated tests will have the attributes from the new framework. The latter may cause syntax conflicts.
In this case it is recommended to either keep the test framework the same or save the generated tests in a new project.
answered Sep 26 by David (1,470 points)
...