Concept: CI Test Speed
Question
How can you speed up test execution in CI?
Hint
Multiple cores can run multiple tests at once.
Explanation
Running tests in parallel across multiple workers is a common way to speed up CI. Jest supports this with --maxWorkers=N or --maxWorkers=50%. Other strategies include caching dependencies, running only affected tests, and splitting test suites across multiple CI machines. Never speed up tests by removing assertions or deleting tests.
Related Resources
Related Lessons
- CI Testing
Running tests in CI pipelines.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.