proposal: unit tests for browsers
See original GitHub issueI would like to see actual browser based unit tests and would like to help with this.
I recommend using mocha with puppeteer like we do at https://github.com/zurb/foundation-sites
To be exact mocha-headless-chrome
+ mocha
+ chai
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Learning How to Set Up Automated, Cross-browser JavaScript ...
The Start JS Unit Tests method initiates testing of a single HTML page (at the given URL) on as many browser/platform combinations as...
Read more >Unit Testing Tutorial: A Comprehensive Guide With Examples ...
You can utilize various Unit testing frameworks to perform automated browser testing and UI testing. A cloud-based testing platform like LambdaTest offers you ......
Read more >How to run unit-tests in all browsers? - Stack Overflow
1. You can automate testing on all browsers installed on your machine with js-test-driver. – JoshNaro · 2. Not even on your machine,...
Read more >Testing in Chromium - docs/testing/testing_in_chromium.md
Browser Tests is built on top of gtest, and it is used to write integration tests and e2e tests in Chromium.
Read more >Unit Testing Best Practices : Everyone Must Know
Use real browsers and devices. It doesn't matter what emulator or simulator is being used; they will not offer 100% accurate results.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gurupras any support is very appreciated.
I’m currently finishing a very short introduction article about the mentioned solutions, it might be probably helpful.
I have reasonably good experience with puppeteer if we do end up going that way. I’m not very good at writing stuff from scratch, but if someone can come up with a basic framework for doing this, I’m sure I can help quite a bit.