cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Initialization error while running the junit test class

0 Likes
16,828

alt textHi All,

I have created the test class for populator, while running the j unit it is giving me the initialization error.

Thanks, Sivaalt text

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Likes

Please try the following before executing your JUnit file:

a. Right click on the JUnit file

b. Click Run As > Run Configurations... It will open the Run Configurations window.

c. Double click JUnit.
It should show your JUnit file selected

d. Click the tab, Classpath > Select your extension folder (default classpath) > Click the button Advanced...

e. Select Add Folders > Click OK

f. Navigate to your extension > Select the folders src, testclasses and testsrc > Click OK > Click Apply

0 Likes

I have added junit configurations but i am getting the same initialization error