In our last post, we talked about starting a new Java project and running and debugging it with VS Code. In this post, we will cover testing.
To run Java tests on VS Code, we recommend using the Java Test Runner extension or the Java Extension Pack, which includes the extension. The extension supports the JUnit4, JUnit5, and TestNG frameworks.
Recently we published a full getting started guide for Java with VS Code together with a list of tips and plugins for Java development with Visual Studio Code.
But… did you know you can also use it on the ARM-processor-powered Raspberry Pi?
Until recently this was not available in an official version for the Raspberry Pi, but luckily Microsoft decided to release new versions with installers for both 32-bit and 64-bit Raspberry Pis.
Let’s install and test them!
On Java, thanks to the investments communities and Microsoft have been constantly making, VS Code has been used by more and more Java developers to edit, build, run, debug, test and deploy their code and manage their projects, and by more and more students and educators to learn and teach Java language.
In this article, I will walk you through how to get started for Java on VS Code.