In this video, Meaghan Lewis takes viewers through an example to learn more about unit tests. Gain better perspective on when unit tests should be used and what they will test.
- [Instructor] I'm going to show some examples…of the most common types of automated test.…But first I'll take a minute to walk you through…a simple test application.…The application called Stickerfy…allows you to order stickers.…It's a simple application written in Node.js.…From the home page of the Stickerfy application…I can see the stickers available,…select the one I want…and add it to my cart.…Going to the cart, I can see that the sticker has been added…and I can see the total price reflected.…
Pressing checkout will then complete my order…where I can see the total again…and a message thanking me for my order.…Now I want to take a deeper dive into unit test…and show some examples of unit tests written…for the Stickerfy application.…Unit test are critical to the success of an application.…They really help to make sure that the functionality…of the application works as it should.…They should be lightning fast,…simple, and test only one thing.…
I've talked about the value of unit test enough for now.…So let's focus on practical examples…
- The test pyramid
- Unit, integration, and UI tests
- Creating an automation strategy
- Choosing test tools
- Deciding what to automation
- Identifying the risks and cost of automation
- Implementing test automation
- Using continuous integration
- Measuring code coverage
Skill Level Beginner
Value of automation1m 24s
1. Test Types
2. How to Approach Automation
3. Testing Tools
4. Decide What to Automate
5. Adopt Test Automation
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.