New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Catch afterTestMethod() output; fixes #820 #876
Conversation
I added a functionnal test. Running it without this patch will result in a test failure. Without patch:
With patch:
|
Seems nice |
The functionnal test suite works properly and the atoum test suite is still working, so I guess it does not break everything. I will run the Glpi project test suite using this patch, to ensure everything is ok, and give a feedback soon. |
The full GLPI project tests suite produces expected results with this patch, so I guess it has no side-effects. |
Not sure you were talking about that, but I added output catching on setUp and tearDown methods. |
I added this piece of code in `atoum\atoum\tests\units\annotations\extractor``test class:
It produces the following result:
So it works as expected, but I have no idea how I can test this.