Test vocabulary
The terms the tests are written in: the states the system can be in, the things that can happen, and the shorthand for a few of them together. The docs word each one with its Say:, Set: and Shows:.
States
| State | Can be | To change it |
|---|---|---|
| the price feed | live · delayed · unavailable | Switch the test provider to …. |
| the cheap boil | off · waiting · boiling |
Actions
| Action | What to do |
|---|---|
| the user asks for a cheap boil | Fill the kettle, set the price you call cheap and tap Boil when cheap. |
| the feed falls behind | Make the test provider send prices late. |
| the feed stops answering | Switch the test provider off. |
| the feed answers again | Switch the test provider back on and tap Retry. |
| the price drops to the cheap rate | Have the test provider send a price at or below your cheap rate. |