B
B
bropa2016-08-09 20:13:03
Java
bropa, 2016-08-09 20:13:03

Test Java application with input parameters?

Hello. Tell me how to test a Java application with different input parameters. To record the result of the work.
The input is 4 parameters for example 0,1,1,1. The operation of the application depends on them.
The application writes a log. There can be more than 200 different combinations at the input.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2016-08-09
@bropa

How are the parameters related? Is it possible to iterate over all possible values ​​using four nested loops? If so, then a banal sh (bat, powershell) script that will launch the application with different parameters.
There is a suspicion that you are doing something or explaining it wrong and you actually need unit tests (they are unit tests). JUnit is well suited for this task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question