gdt-dev / gdt

Go Declarative Testing
Apache License 2.0
4 stars 2 forks source link

exec: fix debug handler #19

Closed jaypipes closed 5 months ago

jaypipes commented 5 months ago

For the exec plugin, we were writing debug output even when the user had not called gdtcontext.WithDebug(). In addition, stdout and stderr contents were only being written to debug writers when executed during on.fail.exec. These two problems are fixed in this commit in addition to correcting an erroneous $LOCATION in the README.md that needed to be $$LOCATION.