I am trying to use swagger-brake as a library not from the CLI. It will actually be invoked as an integration test, because right now we have no swagger files in the code and use one generated by spring-fox at run time. That will hopefully change in the future.
But the problem is that just including swagger-brake as a library is causing some unit tests to fail. The reason is that it has a logback.xml that has:
<root level="OFF" >
which is turning off logging at the root level and I have some tests that verify that certain messages are logged.
You should only control your own logging, not all logging.
I am trying to use swagger-brake as a library not from the CLI. It will actually be invoked as an integration test, because right now we have no swagger files in the code and use one generated by spring-fox at run time. That will hopefully change in the future.
But the problem is that just including swagger-brake as a library is causing some unit tests to fail. The reason is that it has a logback.xml that has:
<root level="OFF" >
which is turning off logging at the root level and I have some tests that verify that certain messages are logged.
You should only control your own logging, not all logging.