We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Angular Community Meetup | Feb 28th, 2023 | Quantarius Ray, Alisa Duncan, & Colum Ferry
"Discover the power of test harnesses in Angular, learning how to test UI elements, interactions, and controls, and how to create complex test scenarios with this beneficial tool."
- Understand the concept of test harnesses in Angular, used to test UI elements
- Naming patterns for test harness filters should be similar to Angular Material
- Test harnesses are composable and can be combined to create more complex test scenarios
-
Use the
getHarness
method to create a harness for a component - Test harnesses can be used to test UI interactions, such as clicking on buttons
- Test harnesses can be used to test input controls, such as input fields
-
Use the
getExpectedValue
method to set an expected value for a test harness - Test harnesses can be used to test the behavior of a component in different scenarios
- Test harnesses are useful for testing the UI of a component
- Test harnesses can be used to test the behavior of a component in different states
- Test harnesses can be used to test the behavior of a component in different conditions
- Test harnesses are useful for testing the interaction of multiple components