M
M
MaxLich2018-04-27 09:22:41
Java
MaxLich, 2018-04-27 09:22:41

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

1 answer(s)
N
nlog, 2018-04-28
@nlog

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 question

Ask a Question

731 491 924 answers to any question