preslavmihaylov / todocheck

A static code analyser for annotated TODO comments
MIT License
426 stars 42 forks source link

Test Token instructions output #184

Closed eisandbar closed 2 years ago

eisandbar commented 2 years ago

closes #130

Added field expectedOutputText to TodocheckScenario and a method ExpectOutputText that sets it. Calling run now checks stdout if expectedOutputText isn't empty and returns an error if stdout isn't what we expect. Added tests for all issue trackers that the TokenAcquisitionInstructions are what we expect.