Skip to content

MarcL/javascript-testing-beginners-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Testing Beginner's Course

A 7-day course to teach beginner's how to get started with JavaScript testing

What is this?

This is the code repository for a 7 day mini-course which aims to get you started with JavaScript testing. It'll be delivered by email and will link to accompanying videos. If you struggle to get started with JavaScript testing then this will really help. You'll learn to start with some easy tests using a test runner and basic test assertions. You'll then discover how you can use test doubles to fake responses and isolate your unit tests.

Interested in learning more? Just sign up for the JavaScript Testing Mini-Course on my website.

What you'll learn

  • The different types of tests you can write as a JavaScript developer
  • What you need to install to start unit testing your JavaScript code
  • The different types of assertions and how you can use them
  • How you can set up different test suites and group your tests for clearer output
  • How to ignore or specify single tests or test suites for debugging
  • Set up an example project using the GitHub API and fully test it
  • How to stub the GitHub API request to test your happy and unhappy code paths
  • How to test those tricksy asynchronous callback functions and promises
  • How to time travel using fake timers to speed up your tests
  • A simpler way to configure your test setup
  • How to automate your tests for continuous integration
  • Ideas for better JavaScript testing to help you to become an expert!

License

MIT © Marc Littlemore

About

Code for a beginner's course on JavaScript testing

Resources

License

Stars

Watchers

Forks

Packages

No packages published