Previous Lecture | lect11 | Next Lecture |
lect11, Thu 02/16
Testing Tools, Different Types of Testing: Component, End-To-End, and BDD Testing
Announcements
- Still no current homework - we focus on the momentum from your MVPs and move towards CI/CD!
-
Finish up lab05 requirements: Your peer eval reports and response documents, Unit Testing
- lab06 will require you to go beyond unit testing:
- Implement at least one higher-level (Integration, Component, or BDD) test with a testing library of your choice over the next week!
- Second Peer Evaluation at CATME.org coming up next week. Fill out before Friday, 2pm to receive Lab05 credit!
More Info on Testing
-
Slides for high-level overview and motivation: Testing for the Skeptical Developer
- Testing Coverage: code coverage vs. execution/path coverage vs. test coverage
- Code vs. execution/test coverage: a kid’s toy example by the Lead of SW Testing at eBay
- Possible Testing Libraries:
- Jest
- Jasmine
- Component Testing with Cypress
- Component Testing with Storybook
- BDD Acceptance Testing with cucumber.js, blog example
- Remember the overview articles:
Today: Work in Breakout Groups
- Standup
- Work on new features and on unit testing requirement and peer reports and responses for lab05. Discuss best testing frameworks/strategies based on what your team members found out!