SNSystems / dexter

DExTer - Debug Experience Tester
MIT License
33 stars 6 forks source link

Write ParseCommand unit tests #49

Closed OCHyams closed 5 years ago

OCHyams commented 5 years ago

OK: test_parse_inline: Commands can be embedded in other text.

OK: test parse_multi_line: Commands can span multiple lines.

OK: test_parse_escaped: Escaped commands are ignored.

FAIL: test_parse_whitespace: Try to emulate python whitespace rules. The parsing isn't very robus at the moment.

FAIL: test_parse_share_line: More than one command can appear on one line. This is QOL feature but really should be implemented.

The 'FAIL' tests are annotated with expectedFailure for now so that they do not interfere with the typical workflow

TomWeaver18 commented 5 years ago

LGTM