Timeline for Unit Testing - should / how should I write tests to cover new code that doesn't affect the interface of a method?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 2, 2023 at 22:04 | comment | added | gnasher729 | As I wrote: It’s up to you to define whether performance is part of the interface or not. Yes: Write unit tests. No: Don’t write them. | |
Jan 2, 2023 at 18:17 | comment | added | gbro3n | I don't think side effects are part of the interface. Testing email rate capability would be an integration test rather than a unit test. | |
Jan 1, 2023 at 13:22 | history | answered | gnasher729 | CC BY-SA 4.0 |