How to test the application with test input?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
9 views
Hello. Made a small app. Decided to cover it with tests. For almost all classes I wrote unit tests. But I wish all the app automatically tested on different test inputs. In my opinion, this is called integration testing, but not sure.
In fact, hence the question: how to do this better? Or better and easier just to substitute other inputs and see what is written in the console, in logs, in the output?
by | 9 views

1 Answer

0 like 0 dislike
Is to look towards property-based testing. For JUnit, for example, there are junit-quickcheck.
Can also be useful for dynamic analysis using Java Pathfinder, but this tool has limited use: not suitable for the analysis of programs, working with native and large in size (over 10 thousand lines of code).
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
4 answers
asked Mar 22, 2019 by CyMpak
0 like 0 dislike
2 answers
asked Apr 13, 2019 by Kentaro23
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,573 users