Frequently Asked Questions
Why do I need Cypress?
Isn't this just another test runner like Karma, Test'em, etc?
Cypress replaces your existing test runner, but goes much, much further. Cypress automatically monitors test files, reloads changes in real time, processes and builds JS files, and is highly configurable. It additionally offers a GUI to see your tests run in the browser with your app, offers smart debugging feedback, and has built in mocking, spies, and stubbing.
How is this different than Protractor?
Proctractor and Cypress are similar in that they provide end-to-end (integration) testing. Protractor, however, is primarily focused for AngularJS applications. Cypress works with every framework, including AngularJS. Protractor requires Selenium to be installed locally, Cypress does not. Protractor runs primarily in a terminal, Cypress runs in your browser so you can see your application while testing. Protractor is considerably slower than Cypress. Protractor has been known to be difficult to debug. Cypress offers simple error messages and custom debugging feedback.
Do I need to run PhantomJS / Selenium Web Driver?
No. Cypress replaces Selenium completely, and is completely different than PhantomJS. Cypress is not a headless browser. It has a headless mode using Chromium that can be used for continuous integration.
What assertion library is used in Cypress?
Cypress uses Chai internally, but it can be configured with any assertion library.
How long does it take to get up and running?
After installing Cypress as a native application (compatible with Mac and Linux), you sign in, add your project's folder and click 'Start'. That's it.
Will this work for my CI server?
Yes. It works with all CI servers including TravisCI, CircleCI, CodeShip, Jenkins, and more.
When will it be available?
Sometime in 2017. Fill in your email and we'll send you updates on our progress.
How do I get early access?
We're still hand picking early adopters to work out all the initial kinks. We regularly communicate with applicants to our early access program to ensure Cypress fits perfectly into their existing workflow. Sign up and we'll get in touch to see if you're a good fit.
How much does Cypress cost?
It's free for open source projects and paid for private projects running in CI. We're still working on figuring out the exact price points.