Answer the question
In order to leave comments, you need to log in
What is the best way to test the performance of an application with test inputs?
Hello. Made a small application. I decided to cover it with tests. I wrote unit tests for almost all classes. But I would like the whole application to be automatically tested on various test inputs. I think it's called integration testing, but I'm not sure.
Actually, from here a question: how it is better to do it? Or is it better and easier to just substitute other inputs and see what is written in the console, in the logs, in the output?
Answer the question
In order to leave comments, you need to log in
It is worth looking towards property-based testing. For JUnit, for example, there is junit-quickcheck.
Dynamic analysis using Java Pathfinder can also be useful, but this tool is of limited use: it is not suitable for analyzing programs that work with native code and are large in size (more than 10 thousand lines of code).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question