Skip to content

rkiran3/gitproject

Repository files navigation

VS Code

Generate Tests

When editing a Java file, right click and select Source Action > Generate Tests and select the functions that need to be tested.

The Test file will be generated in the test package.

Run Test

To run the test, click on the Green arrow indicator in the Test code. This can be found near the line numbers.

To view Markdown in VS Code

Edit the Readme.md file and type in Ctrl - Shift - V which will show the preview of content.

Maven

Compile

$ mvn compile

Clean project

$ mvn clean

Run Test

$ mvn test  # will start testing all the testcases in the test package