Add some integration tests for new [DoesNotReturn] feat
See original GitHub issue@kevin-montrose did a great job on it https://github.com/coverlet-coverage/coverlet/pull/904 and added also some tests
https://github.com/coverlet-coverage/coverlet/blob/master/test/coverlet.core.tests/Instrumentation/InstrumenterTests.cs#L647 https://github.com/coverlet-coverage/coverlet/blob/master/test/coverlet.core.tests/Samples/Instrumentation.DoesNotReturn.cs
We should add also some integration tests with same sample to cover also parameter option passed in(i.e. /p:DoesNotReturnAttribute="DoesNotReturnAttribute,OtherAttribute"
):
- Add a file https://github.com/coverlet-coverage/coverlet/tree/master/test/coverlet.core.tests/Coverage called CoverageTests.DoesNotReturn.cs
- Add one test for every samples in file https://github.com/coverlet-coverage/coverlet/blob/master/test/coverlet.core.tests/Samples/Instrumentation.DoesNotReturn.cs
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Integration tests in ASP.NET Core
Unit tests are used to test isolated software components, such as individual class methods. Integration tests confirm that two or more app ...
Read more >Do I need unit test if I already have integration test?
Since I already have to write integration tests anyway, I will like to only write unit test for parts that not covered by...
Read more >Running integration tests against the server in the same ...
This is a common scenario when writing integration tests. Integration tests are dependent on another service to be up and running.
Read more >6 best practices for integration testing with continuous ...
Run integration tests until something fails; Determine what needs to be added or modified; Drill down into unit testing; Go back to integration...
Read more >Vaadin push example. 8 app using the new built-in Push ...
An example clinic patient queue application using Vaadin 8, Java EE 8 and Vaadin CDI add-on. This time, I've investigated how to push...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ahh ok thanks. I didn’t check what happens in
PrepareAttributes(...)
🙈. You can assign this to me then.Yep we can for now avoid to add the attributes overload to test helper class, we use build-in
DoesNotReturnAttribute