goproxy
goproxy copied to clipboard
Refactor tests
Current tests are legacy and really old, no one cared much about them. Failing tests are not reporting the errors to the pipeline result, the whole pipeline should fail, and not report a success.
- Try to fix the commented tests (with //), and re-enable them
- Rewrite all the tests using testify library (currently used for http1parser_test package)
- Refactor the code of the tests to make them more readable
@ErikPelli can you assign me this please?
sure
For the shared proxy functions, like createProxy and all the others that are duplicated, you have to create another package that is imported by all the other tests. Alright @CameronBadman ?