Comments (19)
Hello guys! Any workaround to install this extension in Vs22 for mac?
from vsmac-codecoverage.
Hey guys.
Been kinda busy lately.
Will see if I have some time this week to have a look at this.
from vsmac-codecoverage.
I was able to install it into VS22 for Mac by directly downloading the mpack file from here: https://github.com/ademanuele/VSMac-Extensions/tree/master/VSMac-CodeCoverage
Unfortunately it won't let me enable the extension though. It shows as installed but it's automatically disabled with no way to enable. Guessing there's a breaking change that'll require a code change.
from vsmac-codecoverage.
Wondering if someone wants to try a preview build (forked this repo and played a bit with it)
Same results as well. "Running unit tests..." remains active forever.
But huge thanks for making this work. Please fix rest of the feature.
from vsmac-codecoverage.
@carlos8k @raviraj87 how about this build?
CodeCoverage.Code Coverage.3.0.1.mpack.zip
Here's what I can see running this one:
from vsmac-codecoverage.
@alexsorokoletov now works for me too, but only for small projects. I tried to open a large project (about 1k unit tests, 26k lines of coverage code), and my Visual Studio freezes for a long time every time I interact with coverage plugin.
Sometimes the Visual Studio stopped working, and I had to force quit. I'll need to uninstall the plugin to work. :(
But, thanks for the update, and congratulations for the work!
from vsmac-codecoverage.
Facing the same issue on Visual Studio 2022 Mac.
Extension says disabled all the time:
Please fix this awesome extension.
from vsmac-codecoverage.
@ademanuele this tool is more than awesome for us in improving the code covering and quality. Will really appreciate if this gets support to VS22.
Cheers.!
from vsmac-codecoverage.
I found this post on installing extensions manually with builtin tools: https://developercommunity.visualstudio.com/t/extension-support-for-visual-studio-2022-for-mac/1554393
The attempt shows that some MonoDevelop libs need to be updated.
> /Applications/Visual\ Studio.app/Contents/MacOS/vstool setup install ~/Downloads/CodeCoverage-v2.0.1.mpack
2022-06-20 11:35:48.603 vstool[19794:3303062] Xamarin.Mac: Invalid IDE Port: -1
Visual Studio Extension Setup Utility
Installing Code Coverage v2.0.1
WARNING: The add-in 'CodeCoverage.Code Coverage,2.0.1' could not be updated because some of its dependencies are missing or not compatible:
required: MonoDevelop.UnitTesting,8.9.10, found: MonoDevelop.UnitTesting,17.0.3
required: MonoDevelop.Core,8.9.10, found: MonoDevelop.Core,17.0.3
required: MonoDevelop.Ide,8.9.10, found: MonoDevelop.Ide,17.0.3
from vsmac-codecoverage.
Wondering if someone wants to try a preview build (forked this repo and played a bit with it)
CodeCoverage.Code Coverage_2.0.1.mpack.zip
from vsmac-codecoverage.
@alexsorokoletov I installed the new preview build, and now the extension state show as "installed" as expected.
But when I click the "Gather Coverage" button, the unit tests run (and pass), but the coverage tool not works.
Maybe I need to set up something to the things working, I'll work on it later, and bring feedback here.
from vsmac-codecoverage.
@carlos8k thank you for checking this! I guess I need a test "test" project!
from vsmac-codecoverage.
@carlos8k @raviraj87 how about this build? CodeCoverage.Code Coverage.3.0.1.mpack.zip
Here's what I can see running this one:
Yes, working like a charm.
Thanks for the update
from vsmac-codecoverage.
@carlos8k great, thank you for checking!
Wondering if I can find a sample project with that many codes (was that an open source project by any chance?) and see what's slowing it (Could be an exception or maybe a slow JSON).
Am I correct to guess that the combination "VS 2019 + this extension" was not as slow?
from vsmac-codecoverage.
turns out the preferences window doesn't work yet, bc .net 6 and Gtk doesn't quite marry. Wondering if I can port this to a different target instead.
Still looking for a good size unit test repo, if anyone has pointers.
from vsmac-codecoverage.
Bump... got it installed would still like a workaround for my testing class
from vsmac-codecoverage.
@benjaminhallock which release did you install? Wondering if this one worked for you or not https://github.com/alexsorokoletov/VSMac-CodeCoverage/releases/tag/v3.0.1-2022
(Probably that's what you tried but let me double check)
from vsmac-codecoverage.
@alexsorokoletov we had your fork working but it seems to have broken with the latest VS2022 Mac updates. It shows disabled with no option to enable it
from vsmac-codecoverage.
@jawbrey Hi! It probably needs updating to include latest VS2022 Mac libraries. Might be also related to Intel vs Apple Silicon, though I am not sure about that.
I'm not actively working with VS for Mac these days so I won't be looking into this OSS code any time soon. Probably needs some active maintainer or become a commercial (not for me to decide this) to have some traction.
Maybe commit history in my fork will be of any help + make sure to create a good Unit Test project and include that as a sample test project. It looks like these test projects differ from one to another.
I wish I had a better answer!
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
- Update mono dependency or document required mono version HOT 5
- Support .runsettings HOT 9
- 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.