W
W
WhiteWolf_302019-03-17 16:25:36
Java
WhiteWolf_30, 2019-03-17 16:25:36

How with the current project (boolean calculator) add testing via JUnit4?

I have a boolean calculator project, the teacher gave the task to do testing through JUnit4, how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2019-03-18
@zolt85

1. Add jUnit to project dependencies. (maven, gradle, ant)
​​2. In the project structure, add a directory for test sources (src-test, for example)
3. Read of. jUnit documentation about writing tests and their s...
4. ?????
5. PROFIT!!!1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question