Testing JavaScript
A detailed, hands-on book on testing JavaScript end to end — unit tests with Vitest, test organization, testable design, doubles and mocks, property-based and snapshot testing, integration suites, async code and fake timers, full E2E harnesses for CLIs, capped by a capstone test suite for a real application.
- JavaScript
- 51 lessons
- ~10 hours
- Free
- by Fishbones
Learn JavaScript for free on Libre Academy with the Testing JavaScript course: 51 interactive lessons you complete by writing real code in a built-in editor, graded instantly by hidden tests. No paywall, no sign-up — it runs in your browser and the free desktop app.
What you get
- Hands-on lessons with a real editor and instant, test-graded feedback.
- Free and open source — no account required to start.
- Runs in your browser, and offline in the free desktop app.
- JavaScript runs in your browser.
What's inside
- Why Test JavaScript?
- Unit Tests
- Organizing Tests
- Designing for Testability
- Test Doubles
- Property-Based Testing
- Snapshot and Golden Testing
- Integration Testing
- Testing Async Code
- End-to-End Testing
- Capstone: Testing a Real App
Start Testing JavaScript free → More free JavaScript courses