By default, Protractor v3 supports Jasmine and Mocha test frameworks. Cucumber is no longer included by default as of version 3.0. However, you can integrate Cucumber with Protractor with the custom framework option. For more details, see the Protractor Cucumber Framework site or the Cucumber GitHub site.
Note: Limited support for Mocha is available as of December 2013. For more information, see the Mocha documentation site.
Jasmine:
Protractor v3 default test framework is Jasmine 2.x. If you want to upgrade to Jasmine 2.x from 1.3, follow the Jasmine upgrade guide.Mocha:
If you would like to use Mocha as test framework, you need to use BDD interface and Chai assertion libraries with Chai As Promised.Note: Limited support for Mocha is available as of December 2013. For more information, see the Mocha documentation site.
0 comments:
Post a Comment