What is a side effect in tests?
Test that can return different values from time to time, or create some artifacts after finishing.
Examples include calls to Time.now, or writing the output to a file. These types of methods are non-deterministic (not pure function), which makes them trickier to test and usually involves some mocking or stubbing.
What kind of side effects do you know?
When we should use context/describe?
Context is just an alias for describe. You could use them interchangeably, but we tend to use context for phrases that modify the object we’re testing, the way “with milk”
modifies “A cup of coffee.”