Documentation for unit testing#112
Conversation
|
Should I also write about using FYI in #107 I have removed these, and the tests now run as actual sandboxed sphinx builds. You might be interested to check it out. |
|
nice! agreed that this is an improvement. @chrisjsewell if you think we're moving away from |
|
Well there’s a hierarchy of testing; where possible there should be low-level isolated tests per function, then other full scale integration tests. |
|
@chrisjsewell I agree - I just meant that when you're close to Mocking the entirety of a sphinx build, it makes sense to just use the whole sphinx build 😆 |
@choldgraf @chrisjsewell, have added a few lines on unit testing. What do you think about this? Should I make it more/less verbose? Should I also write about using
mock_document,MockEnv?