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

What is the difference in IntelliJ between a Hybris Unit Test and a JUnit Test?

Former Member
0 Likes
1,316

With the Hybris plugin for IntelliJ, you get an additional Run/Debug configuration called "Hybris Tests". I am wondering what the functional difference is between a Hybris Unit Test and a regular JUnit test? Does the Hybris Unit Test do anything special? Or does the Run/Debug configuration just have the additional Hybris Filter?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

Dear Jason,

Importing project via Hybris Integration Plugin to IntelliJ corrects the dependencies of all the modules in the platform directory automatically. Therefore Hybris Test has properly configured classpaths (that's the only difference). You can group and execute tests in a different ways, for example, run unit tests from a particular extension.

Remote Hybris Tests are running on active hybris instance. If you run integration tests you don’t have to rerun hybris each time.

Hybris Test runs code locally. If you run integration tests, they activate junit tenant.

For more information about tests please check out this link: https://answers.sap.com/questions/12766199/running-unit-tests-in-intellij-idea.html

Hope that helps.

Regards, Henryk

Former Member
0 Likes

Thanks! That question you referenced is the one I used to get going and is what sparked me to ask this question. :-)