doorstop-dev / doorstop

Requirements management using version control.
https://doorstop.readthedocs.io
Other
465 stars 126 forks source link

Create true tests for VCSs #621

Open neerdoc opened 7 months ago

neerdoc commented 7 months ago

The tests of the four supported VCSs are currently just checking that the call is made to the python subprocess. This is fragile and does not actually test that the calls are correct.

Create true test cases that actually sets up an empty repository of each VCS type and creates commits, adds, deletes, etc. to verify the code.

They will be more expensive in time and require that all four VCSs are installed, so that must also be added.