Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does VSCode have an option to "Create tests" for a java class?

In IntelliJ IDEA Ultimate, I have the ability to "Create tests" for a Java class.

  • Does VS Code have anything similar? Any extension or in-built functionality.
  • If not, what would be the steps I should follow to create such an option for my use?

1 Answers

As of today VSCode has in-built action to generate test.

You have to open Command Palette and select "Source Action". Then you'll be promted with window containing some options and one of them will be "Generate Tests".

like image 138
ushka1 Avatar answered Oct 21 '25 20:10

ushka1