UI and Integration Testing for a Full-Stack Javascript App (excerpt)
by selene on May.04, 2017, under Uncategorized
While developing our new full-stack Javascript app at ThinkNear, we needed to pick a technology for UI and integration testing.
For our Ruby apps, we use Capybara with RSpec and the Poltergeist bindings for PhantomJS. While the stack works, to simplify development and ramp-up time for new developers, we wanted a Javascript-based technology.
Criteria:
- Write tests in Javascript
- Compatibility with Jasmine
- Our unit tests are in Jasmine, so we’d prefer not to juggle multiple test syntaxes
- Supports ECMAScript6
- Can run headless on a Jenkins server
- As close to a real browser as possible
- Officially we only support Chrome, so a Chrome/Webkit browser is preferred over Firefox/Gecko
- Actively maintained, community support
Read the full post at the ThinkNear Engineering blog.