Tag Archives | assertions

Assertions in JUnit

Assertions are what JUnit is all about. The code you are testing is doing something. Your assertions will test that after running the software under test with a certain set of inputs, you will have a specified output. assertArrayEquals() The assertArrayEquals() method will test whether two arrays are equal to each other i.e. they have [...]

Continue Reading ... Comments { 0 }