Unit Testing — Study Resources & PYQs
Unit testing
- Estimated study time: 53 minutes
Study resources
- Getting Started (Article) — The official Jest documentation for writing and running unit tests in JavaScript.
- Jest Crash Course (Video) — Traversy Media's crash course covering Jest fundamentals: matchers, mocks and test structure.
- Complete MongoDB Tutorial (Article) — The official Angular documentation on writing unit tests with Jasmine and the TestBed.
- Testing Guide (Article) — The official Vue.js documentation's guide to testing, recommending Vitest for unit tests.
- Testing (Article) — The official React Native documentation's overview of testing tools including Jest.
- Black Box and White Box Testing Techniques - A Literature Review — ResearchGate/AIRCC PDF (unit, integration, system testing definitions) (PDF) — Black Box and White Box Testing Techniques - A Literature Review — ResearchGate/AIRCC PDF (unit, integration, system testing definitions) — resource aligned with Unit Testing.
- White Box vs Black Box Testing | Software Engineering — Gate Smashers (Video) — White Box vs Black Box Testing | Software Engineering — Gate Smashers — resource aligned with Unit Testing.
- Testing Library Documentation (Article) — The official Testing Library documentation, commonly paired with Jest for testing React components.
- Using Matchers (Article) — Official Jest documentation detailing assertions, truthiness, numbers, strings, and exceptions.
Taught in these subjects
- Software Engineering — CST-3702 · Government College of Engineering and Technology, Jammu