Skip to main content

Timeline for How do you test your scripts?

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Oct 17, 2017 at 14:22 history edited Peter M. - stands for Monica CC BY-SA 3.0
added 857 characters in body
Oct 17, 2017 at 14:08 comment added Édouard Lopez Yep, so better split in two steps and test each separately, which mean wrapping code in functions, move them to a helper file so we can call them in tests and production code
Oct 17, 2017 at 13:55 comment added Peter M. - stands for Monica Envirovar or pipe is also a built-in.
Oct 17, 2017 at 13:06 comment added Édouard Lopez cd might not have been the best example as it's a built-in, so indeed should assume it works. Testing the whole script as a black box doesn't feel right, I would prefer to be able to test at a lower level (unit test) or in a step-by-step way
Oct 10, 2017 at 17:35 history answered Peter M. - stands for Monica CC BY-SA 3.0