Issue #29 new

Autotesting the monitor

Olof Bjarnason
repo owner created an issue

Right now the systests are limited to testing how a certain set of Python code&test files are being interpreted (how many tests are found, how many tests passes).

But one important aspect of pytddmon is it's ability to detect file system changes, which include the following scenarios:

a code file has been changed, for example a function in it

a unit test file has changed, for example an assert in it

a file has been renamed, for example to avoid it being tested

Some ideas on how to solve this technically:

Generalize the systest's to allow updating files, thus enabling change-detection-testing

Build unit tests that simulate the environment (mocking) and test relevant classes

Build some new kind of systest-system, completely separate from the old one

Comments (1)

  1. Log in to comment