Do not pipe "oneTimeTearDown"
GoogleCodeExporter opened this issue · comments
oneTimeSetUp is not piped to the output file although onTimeTearDown is.
It is not consistent.
Given that piping onTimeTearDown creates a subshell and prevent users of
modifying variables of shunit2 (e.g. suite name) I would propose not to pipe it
either.
Original issue reported on code.google.com by barthele...@gmail.com
on 30 Apr 2013 at 9:20
Could you provide some sample code that demonstrates the behavior you see?
Neither functions are piped in shUnit2, and both should behave exactly the same.
Original comment by kate.w...@forestent.com
on 20 May 2013 at 6:16
Hello,
I apologize for the confusion. I had used the patch proposed in issue 16. The
pipe I was referring to is not present in the official version of shunit2, only
in the patch. Thus we agree.
You can close this issue.
Thank you
Original comment by barthele...@gmail.com
on 21 May 2013 at 12:12