This repository was archived by the owner on Oct 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
build jsdom capybara driver #6
Copy link
Copy link
Open
Description
JSDom is a DOM implementation that works in any JS runtime (mini_racer perhaps) and can be used for doing functional testing without a browser. I'm thinking this would be faster and more reliable than headless-chrome et al.
Really this wouldn't be a Hyperloop specific tool, more just another Capybara driver somewhere between Rack and Selenium in capabilities.
Looking at the Capybara driver base class it looks like it would be surprisingly easy to implement. I'm thinking of giving it a go when I find the time but opening an issue here anyway for reference and thoughts.
Testing framework options - all would just be different Capybara drivers:
- chrome-headless standard Capybara setup: full functionality, slow, buggy
- Hyperloop remote browser: full functionality, simple, better debugging, slow
- JSDom browserless (this issue): speed, full DOM & JS, fast, no rendering
- React Test Renderer: fastest unit tests, not acceptance tests
Metadata
Metadata
Assignees
Labels
No labels