how-to-run-junit
how to run JUnit

Many IDEs have JUnit built-in (e.g. eclipse and BlueJ). If yours doesn't, you can run JUnit tests via the command line as follows: