0

We are using XML to declare our beans and we are using Spring Testing framework for integation tests. Some parts of the XML is factorized and is common to production and testing environment.

Is there a way to measure the test coverage of the bean definition XML files ? If this could be integrated with Sonar, it is even better.

Thanks

1 Answer 1

0

I don't think you can do a code coverage of XML file.IF you really want to check whether the correct bean is created , maybe you can use a factory for the same

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.