Auto-generation of .NET unit tests

后端 未结 12 1809
故里飘歌
故里飘歌 2020-12-14 14:59

Is there such a thing as unit test generation? If so...

...does it work well?

...What are the auto generation solutions that are available for .NET?

12条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 15:29

    Parasoft .TEST has a functionality of tests generation. It uses NUnit framework for tests description and assertions evaluation.

    It is possible to prepare a regression tests suite by automated generating scenarios (constructing inputs and calling tested method) and creating assertions which are based on the current code base behavior. Later, after code base under tests evolves, assertions indicates regressions or can be easily recorded again.

提交回复
热议问题