Giter VIP home page Giter VIP logo

Comments (19)

carlos8k avatar carlos8k commented on May 31, 2024 5

Hello guys! Any workaround to install this extension in Vs22 for mac?

from vsmac-codecoverage.

ademanuele avatar ademanuele commented on May 31, 2024 3

Hey guys.
Been kinda busy lately.
Will see if I have some time this week to have a look at this.

from vsmac-codecoverage.

justinwojo avatar justinwojo commented on May 31, 2024 1

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.

raviraj87 avatar raviraj87 commented on May 31, 2024 1

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

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.

alexsorokoletov avatar alexsorokoletov commented on May 31, 2024 1

@carlos8k @raviraj87 how about this build?
CodeCoverage.Code Coverage.3.0.1.mpack.zip

Here's what I can see running this one:

demo of code coverage vs2022

from vsmac-codecoverage.

carlos8k avatar carlos8k commented on May 31, 2024 1

@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.

raviraj87 avatar raviraj87 commented on May 31, 2024

Facing the same issue on Visual Studio 2022 Mac.
Extension says disabled all the time:

image

Please fix this awesome extension.

from vsmac-codecoverage.

ganeshmeghale avatar ganeshmeghale commented on May 31, 2024

@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.

peterfaria-lula avatar peterfaria-lula commented on May 31, 2024

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.

alexsorokoletov avatar alexsorokoletov commented on May 31, 2024

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.

carlos8k avatar carlos8k commented on May 31, 2024

@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.

Captura de Tela 2022-10-25 às 10 47 11

Maybe I need to set up something to the things working, I'll work on it later, and bring feedback here.

from vsmac-codecoverage.

alexsorokoletov avatar alexsorokoletov commented on May 31, 2024

@carlos8k thank you for checking this! I guess I need a test "test" project!

from vsmac-codecoverage.

raviraj87 avatar raviraj87 commented on May 31, 2024

@carlos8k @raviraj87 how about this build? CodeCoverage.Code Coverage.3.0.1.mpack.zip

Here's what I can see running this one:

demo of code coverage vs2022

Yes, working like a charm.
Thanks for the update

from vsmac-codecoverage.

alexsorokoletov avatar alexsorokoletov commented on May 31, 2024

@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.

alexsorokoletov avatar alexsorokoletov commented on May 31, 2024

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.

benjaminhallock avatar benjaminhallock commented on May 31, 2024

Bump... got it installed would still like a workaround for my testing class

from vsmac-codecoverage.

alexsorokoletov avatar alexsorokoletov commented on May 31, 2024

@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.

jawbrey avatar jawbrey commented on May 31, 2024

@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.

alexsorokoletov avatar alexsorokoletov commented on May 31, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.