lengau / sshed

Edit files on a remote SSH server using a local client.
BSD 2-Clause "Simplified" License
4 stars 0 forks source link

100% unit test coverage #15

Open lengau opened 9 years ago

lengau commented 9 years ago

By 1.0, SSHEd should have 100% test coverage. To start out, version 0.2 needs to be 100% unit tested. After version 0.2, any code commited to SSHEd must have 100% unit test coverage.

lengau commented 9 years ago

As of the latest commit, packethandler.py is fully tested.

$ python3-coverage report -m
Name                           Stmts   Miss  Cover   Missing
------------------------------------------------------------
sshed/__init__                     0      0   100%   
sshed/packethandler               98      0   100%   
test/packethandler_test          139      0   100%   
test/packethandler_test_data      25      0   100%   
------------------------------------------------------------
TOTAL                            262      0   100%
lengau commented 9 years ago

The following test coverage is missing: