Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 482 Bytes

unit-tests.md

File metadata and controls

29 lines (19 loc) · 482 Bytes

Unit tests

Run unit tests

Run all tests

mvn test

Run a single test file

mvn test -Dtest=GenericBidderTest

Run a single unit test

mvn test -Dtest=GenericBidderTest#makeHttpRequestsShouldCreateExpectedUrl

Run a unit test and skip checkstyle

Can be useful for printf-debugging because Checkstyle will fail on System.out.println

mvn test -Dtest=GenericBidderTest#makeHttpRequestsShouldCreateExpectedUrl -Dcheckstyle.skip