4 ms·
Why is it a red flag for a browser-based javascript library to require a browser for testing?
by olivernn 14y ago
Why is it a red flag for a browser-based javascript library to require a browser for testing?
- tantalor 14y agoContinuous integration usually run JavaScript tests in browserless-environments.
- erichocean 14y agoUh, platforms like Node can easily simulate the browser, despite being 'browserless'.
- cheald 14y agoI run mine in a PhantomJS environment, which works just fine for headless browser testing.
- altcognito 14y agoWhile I agree with downstream comments that you can run tests headless or browserless, arguably, you're not really testing the user experience until you execute it the way that the user will execute it. Perhaps this is a case of perfect vs. good enough.