jeudi 6 juin 2019

HttpParameterBinding without code coverage

OpenCover On Cake script does not detect coverage on my Owin.Testing usage applying HttpPArameterBiding to some ApiController action parameter.

I have Created a new type of my ApiController that as as action with my ParameterBindingAttribute. After that I create my Owin Test Server and respective HttpClient and did the requests and the proper asserts to validate that the Binding is working properly. The tests pass with sucess.

I expect that the code coverage of the test detects the usage of This type but its not because the report is showing 0 code coverage on my type.

Aucun commentaire:

Enregistrer un commentaire