Intro to Test Driven Development (TDD) with Jest - a Very Simple Guide
Ebenezer Don
This short course offers a very simple and beginner-friendly introduction to test-driven development (TDD) with JavaScript and Jest.
LInk to the initial state of the age calculator: https://github.com/ebenezerdon/intro-to-tdd/tree/only-html
Link to the final state of the age calculator: https://github.com/ebenezerdon/intro-to-tdd
Follow me Facebook: https://facebook.com/ebenezerdonpage Follow me on Twitter: https://twitter.com/ebenezerDN Follow me on GitHub: https://github.com/ebenezerdon See what I've been up to @ https://ebenezerdon.com
- What is Test Driven Development (TDD) - 00:00:00
- Let’s take a Hackerrank test - 00:02:13
- Let’s build an age calculator - 00:06:41
- Introduction to Jest for Test Driven Development (TDD) - 00:09:47
- Let’s write our first test with Jest - 00:13:29
- How to run our test - 00:15:53
- Let’s write our calculateAge function to match our test - 00:17:17
- How to test for DOM manipulation with Jest - 00:18:23
- Let’s write our updateDomWithAge function to match our test - 00:22:13
- Let’s debug our updateDomWithAge function - 00:24:49
- Let’s use our functions in the age calculator app - 00:26:46
- What is Test Coverage? - 00:30:24
- Let’s wrap up! - 00:32:58
#tdd #webdevelopment #testing #javascript #jest ... https://www.youtube.com/watch?v=VfTkMjccTzc
2021-10-31
0.11971682 LBC
Copyrighted (contact publisher)
95203678 Bytes