Unit testing helps you avoid bugs in this lesson, you're going to set up unit testing in visual studio
code.
Junior helps you write unit tests.
The steps the setting up a unit are as follows.
You're going to download the G-Unit Jar file because the Jar file contains all of the class files that
make up the J Unit framework.
And then you're in a AJ unit to vs code.
So first up, download the G-Unit Jar file, it's inside of your resources folder to pause the video
and download it.
OK, then open up visual studio code.
Mac users press command shift P.
Windows users press control shift P.
And then open settings that Jason.
Settings that Jason is where you configure the settings of vs code.
We're going to configure VSCO to use the G Unit framework.
Followed by the comma copy, the source code from your resources folder.
This code lets voice code reference a library.
So right click on the jar file and paste the path over here.
And now this code can navigate to this path and reference the J Unit framework.
OK, now we need to test the library to make sure it works.
I'm going to close Visual Studio code.
And reopen it.
And now it should have applied the changes.
OK.
Here's how to test it.
Create a new file.
And right, the test annotation.
If it auto completes the import, then you're good.
To recap, you imported the J Unit framework into V.S. Code, and now we can use J Unit to write unit
tests.