Adds a custom pytest option for archiving logs and conf files#604
Adds a custom pytest option for archiving logs and conf files#604ichristod wants to merge 1 commit into
Conversation
a905dff to
7ed0cab
Compare
08d2553 to
ef11228
Compare
…different test executions
7ed0cab to
ef18980
Compare
|
@icing I would appreciate a feedback on this one. |
|
Since One can as well run I would therefore probably never use that option. But if people think it's useful for them, I'd not stop them. |
|
I found it useful in my case mainly because if you choose to execute an entire module, |
The purpose of this PR is to enrich python test suite with the capability of log archiving.
With the current situation, httpd/test/gen/apache folder keeps logs and configurations of the last pytest execution either it was about a module or single test.
In addition, if you wanted to compare test results between two httpd versions, you would have to manually preserve the contents of the test/gen/apache/, before cleaning, building and installing a new httpd version.
With the --archive/archive-all option you only need to provide the parameter of the /path/to/archive and it handles the creation and the updates of the archiving folder structure.
I think it helps when you want to compare results across httpd versions.