Comments (9)
I have not had a chance to look into this issue properly. But it seems like it is the VSTest runner built inside Visual Studio for Mac that needs to support using a .runsettings file, rather than this extension.
Having said that, Coverlet, the code coverage provider that this extension uses does have options for excluding/including files/classes which I am currently not using.
I think the best solution for gaining the functionality you want is to surface these options in the extension and potentially having a configuration file that can be stored in your source control to share with others on your team.
I will look into this in a bit more detail soon.
from vsmac-codecoverage.
Ok. You've spoken and I've listened.
I've been working on other projects for a while but had some time this weekend to work on this.
I got it working pretty well. Check out v1.1 of the extension and let me know if you have any issues. 🎉
from vsmac-codecoverage.
Hello. Thank you for your support suggestion.
As far as I'm aware, .runsettings files are a feature specific to vstest.
What sort of thing are you looking to configure?
from vsmac-codecoverage.
I would like to be able to ignore specific files and methods from the code coverage analyses. I use this extension for a Xamarin project and we do not want to include e.g. our Views (.xaml and .xaml.cs files). But also we would like to ignore getter and setter methods because it's not recommended to test them. In my current project we have a test coverage from around 51% and with respect to the .runsettings file a coverage from around 81%.
from vsmac-codecoverage.
Unfortunately, there has not been much movement on this yet. I have been quite busy lately.
Am hoping to look into it next week.
from vsmac-codecoverage.
I’ll spend you another coffee ☕ , if you do (:
from vsmac-codecoverage.
+1
from vsmac-codecoverage.
Thanks for the good work 👍
from vsmac-codecoverage.
Work for supporting .runsettings has been done.
Closing this issue.
from vsmac-codecoverage.
Related Issues (18)
- Can't install on Visual Studio for Mac 2019 HOT 8
- Unable to add repository HOT 4
- Extension Window Is Blank HOT 4
- ExcludeFromCodeCoverage not working for methods
- Setting lines as uncovered without apparent reason
- Coverage window is blank after VS Update HOT 20
- Not able to access the Coverage pad through View -> Pads -> Coverage.
- Facing this issue.. Please suggest am i missing something or what i need to do?
- Unable to install with newer versions of dependencies HOT 1
- Infinite "running test" after failure build HOT 1
- VisualStudio Mac 2022 install HOT 19
- Update mono dependency or document required mono version HOT 5
- Update to latest VS4Mac HOT 7
- Hits file not found, reports 0%
- CodeCoverage is showing 0% HOT 4
- Lambda expressions cause method to show null coverage HOT 4
- Branch coverage HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsmac-codecoverage.