CS401 | sw engineering
  • outline
  • projects
  • syllabus
  • links

IntelliJ: Setup Run Confiugration to Run ALL your JUnit Tests

 

 

****** read the latest documentation on IntelliJ ******

 

 

(below is the OLD interface)

 

 

1) STEP1: Go to Run->Edit Run Configurations, Then hit + to add a new configuration

 

2) Fill out the form as shown in the screenshot

  • select JUnit as the type

    Named it JUnit AllTest (you can name it what you want)

    Test Kind = All in package

    Select Search for tests in whole project

 

 

 

 

3) Step 3 now run the configuration you created and I have 2 test classes DogTest and SimpleTest in the project and you can see both are run

 

 

cs401:sw engieering

  • home
  • outline
  • projects
  • syllabus
  • links