Repository navigation
Testing page refresh - #216
Conversation
| ### Unit Testing Guidence | ||
| * Tests act as documentation of the system's behaviour and should be clear enough to do this effectively. | ||
| * Tests are written alongside or before whatever they are testing. | ||
| * Tests are code (see [everything as code](../patterns/everything-as-code.md)). |
There was a problem hiding this comment.
I cannot find the place where this sentence has been moved? I take it has been blended into the context of the other points i.e. "testing is assisted by automation"?
There was a problem hiding this comment.
Hi @stefaniuk I think it's fine for this line to be dropped, since the restructure of the page moves this into a section specifically about unit testing.
It might be worth repeating the test-code-must-be-treated-as-kindly-as-any-other-type-of-code message in here somewhere (which is the message really, rather than just that automated tests are code!), but obviously that's not just relevant to unit tests, so it probably wouldn't be appear here in the file.
I'll go ahead and merge but let's convert your comment to an issue so we don't forget about it.
Thanks @stefaniuk and @lila1-work
Page restructured to make it easier to read and find information. Further work to do to split it up but please merge this so it's easier for other people to help work on this too.