Chandresh Mishra
Chandresh Mishra

Reputation: 1189

End to end test with serenity-js , cumber ,protractor and jasmine

I am new to serenity-js and trying to implement it for end to end test case for an angular application.

My team has already written the unit test case using jasmine. As I know, serenity-js don't support jasmine. what should I do to make it work?

Option 1: install both jasmine and mocha/chai

option 2: install 2.0.1-alpha.4 Please suggest

Upvotes: 0

Views: 238

Answers (1)

Steven Hunt
Steven Hunt

Reputation: 2321

If you are using expect from Jasmine and have already invested significant effort in writing tests with it, the expect NPM module from Jest is very similar to Jasmine's and is compatible with CucumberJS. Live Demonstration: https://testjam.io/?p=D11o5cwOIQukGy1F6GRU

Otherwise, I'd recommend using Chai.

Upvotes: 0

Related Questions