Øredev 2016 - Andrea Arcuri - Generating JUnit test cases Automatically with Evosuite

preview_player
Показать описание

Writing JUnit test cases takes time, especially if you want to test a whole system thoroughly.
Testing a Java class at random is unlikely to cover many of its complex constructs and scenarios.
However, it is possible to treat test generation as an optimization problem, and then use techniques like Genetic Algorithms to address it.
In this talk, I will first describe how one could use Java reflection to build a random testing tool.
Then, I will briefly describe how Genetic Algorithms work, and how they can be applied to automated test case generation.

Connect with us!
Рекомендации по теме
Комментарии
Автор

Good content, but the title is misleading though. I do not see how evoSuite fits in this, I am also working on similar prototype, ML to generate unit test cases for ExtJs and Java

This title and the content doesn't match.

Thanks for uploading though.

ravibitragunta