Changes between Version 12 and Version 13 of HowToWriteTests


Ignore:
Timestamp:
2021-09-14T14:55:31Z (3 years ago)
Author:
exarkun
Comment:

no mocks !

Legend:

Unmodified
Added
Removed
Modified
  • HowToWriteTests

    v12 v13  
    2727
    2828Now run it!
     29
     30You may notice some existing tests use the `mock` module.
     31We are phasing out this style of testing.
     32Please do not use it in new tests.
     33Instead, factor units and interfaces so mocks are not required.
     34If that is not possible then implement units so that they don't need to be mocked and can be used in the test suite.
     35If that is not possible then implement a verified fake of the required interface and use that in the test suite.
    2936
    3037= code coverage =