asm89 / smoke.sh

A minimal smoke testing framework in Bash.
MIT License
205 stars 56 forks source link

Add debug function and allow testing redirect codes #12

Closed pedromanoel closed 3 years ago

pedromanoel commented 6 years ago

I had a test case where I needed to ensure some paths were being redirected by the server, so I added functions that enable/disable the curl's follow redirect option.

I also find it interesting sometimes to have a more verbose output for debugging purposes.

tomfotherby commented 4 years ago

I found this PR very useful - it was exactly what I was looking for. It'd be great to merge it.

pedromanoel commented 3 years ago

I don't have the context of this change anymore.