Previous Lecture | lect10 | Next Lecture |
lect10, Wed 02/14
Testing Tools, Different Types of Testing: Component, End-To-End, and BDD Testing
Announcements
- H08 due next Wednesday (next Monday is Presidents’ Day holiday)
- We still focus on the momentum from your MVPs and move towards CI/CD!
-
Finish up lab05 requirements: 1) MVP review response in
team/MVP_FOLLOWUP.md
2) Unit Testing experiments, documented inteam/TESTING.md
, 3) Individual AI coding experiments, documented inteam/AI_CODING.md
- 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!
- Another RETRO meeting is also part of lab06. Plan for it now and do it either this Friday, or schedule outside of class!
- Second Peer Evaluation at CATME.org coming up next week, also as Lab06 credit!
More Info on Testing
-
Slides for high-level overview and motivation: Testing for the Skeptical Developer
-
Sometimes, component testing is done as black-box testing by a testing team, separate from the developer team: Difference between component and unit testing
- Testing Coverage: code 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
- React Native Testing Library
- Jasmine
- Component Testing with Cypress
-
Component Testing with Storybook, also works with ReactNative
- 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, AI Coding, and review responses for lab05. Discuss best testing frameworks/strategies based on what your team members found out. Plan Retrospective!