atty icon indicating copy to clipboard operation
atty copied to clipboard

add integration tests for various platforms

Open softprops opened this issue 7 years ago • 2 comments

unit testing has proven unreliable because it ultimately depends on ci runtime internals and how they run tests. instead it would be better to use scripted integrations tests

softprops avatar Sep 30 '17 19:09 softprops

Can you make a concrete technical proposal for how to do that?

On Sep 30, 2017 3:06 PM, "doug tangren" [email protected] wrote:

unit testing has proven unreliable because it ultimately depends on ci runtime internals and how they run tests. instead it would be better to use scripted integrations tests

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/softprops/atty/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/AAb34hztAIzMolOnlmcqP6woQd8OKSPnks5snpFMgaJpZM4PpqN5 .

BurntSushi avatar Sep 30 '17 23:09 BurntSushi

It could just be a little script that runs some of the examples in the readme https://github.com/softprops/atty/blob/master/README.md#testing and using a diff tool to compare the output to expected outputs.

softprops avatar Oct 01 '17 00:10 softprops