softprops / atty

are you or are you not a tty?
MIT License
271 stars 48 forks source link

add integration tests for various platforms #15

Open softprops opened 6 years ago

softprops commented 6 years ago

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

BurntSushi commented 6 years ago

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

On Sep 30, 2017 3:06 PM, "doug tangren" notifications@github.com 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 .

softprops commented 6 years ago

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.