cancel
Showing results for 
Search instead for 
Did you mean: 

How do you integrate Jasmine in Hybris Ecommerce Suite?

Former Member
0 Kudos

I would like documentation on implementing the FE Unit Testing tool JasmineJS into our Hybris 4.8 Platform. We use an ANT build tool but if there is another way to test scripts to target certain URL that would be ideal.

If there isn't any implementation in JasmineJS other Unit testing like Qunit or Cucumber would suffice.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

http://jasmine.github.io/2.4/boot.html <-- Jasmine provides several integrations. This one looks appropriate for Hybris. This Jasmine doc specifies that Javascript resources need to be added to test builds and loaded in a certain order. The rest looks like it is up to you to customize Jasmine.

Former Member
0 Kudos

What do you mean to add JS resources to test builds? The ANT build or in the application? If its the ANT build how do I do that? build.xml?

Answers (0)