pyinspect icon indicating copy to clipboard operation
pyinspect copied to clipboard

Improved testing

Open FedeClaudi opened this issue 5 years ago • 0 comments

Currently most testing just involves running stuff and hoping than no errors come up.

That's good bu t it would be better to do something like rich which captures the console output and matches it to pre-defined strings.

This can be done by using pyinspect._rich.console (which will be released when dev is merged) and replace it with a Console recording the output to a io.StringIO object.

FedeClaudi avatar Oct 07 '20 11:10 FedeClaudi