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's part of the free, open-source desktop app for macOS, Windows and Linux.
What you get
- Hands-on lessons with a real editor and instant, test-graded feedback.
- Free and open source, with no account required to start.
- Works offline in the free desktop app for macOS, Windows and Linux.
- JavaScript runs instantly in the app.
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
Download to start Testing JavaScript → More free JavaScript courses
Helpful reading
Why passive video doesn't make you a programmer · Bring Your Own Book: turning any PDF into a course