Git Product home page Git Product logo

Comments (11)

diluculo avatar diluculo commented on May 24, 2024 1

When starting UnitTests, an Exception panel appears on the problematic line and I can edit it. For me, it is easy and much more intuitive.

exceptions

from mathnet-symbolics.

FoggyFinder avatar FoggyFinder commented on May 24, 2024

If you want to see running tests in The Test Explorer VS then yes you need it (I'm never used Expecto.VisualStudio.TestAdapter although). But you can run tests without it like console app.

from mathnet-symbolics.

diluculo avatar diluculo commented on May 24, 2024

I think Test Explorer makes our life easier. Is it possible to add the TestAdapter to the solution? I found this.

from mathnet-symbolics.

cdrnet avatar cdrnet commented on May 24, 2024

I've added the test adapter. The tests now do show up in the test explorer on my machine. Does that work for you?

I've noticed that the test project now takes quite some time to compile. Not sure why exactly, but it seems to correlate with the switch to Expecto.

from mathnet-symbolics.

FoggyFinder avatar FoggyFinder commented on May 24, 2024

at least, it doesn't work for me. Adapter couldn't find any suitable tests.

from mathnet-symbolics.

cdrnet avatar cdrnet commented on May 24, 2024

Even after rebuilding the test project?

from mathnet-symbolics.

diluculo avatar diluculo commented on May 24, 2024

In the Command Prompt, everything is OK. But at rebuilding on VS 2017 15.4.4, I got an error in the Tests Output: System.ArgumentException: An item with the same key has already been added.

Details of the error are here

Related issues may be #28 of adamchester/expecto-adapter and #425 of jbevain/cecil.

from mathnet-symbolics.

cdrnet avatar cdrnet commented on May 24, 2024

In theory this should not affect us, since we already use Cecil 0.10-beta7. I also cannot repro yet on my side (works for me after restarting VS and rebuilding the test project). I wonder what is different between our setups.

Switching to FCS (instead of the system installed F# compiler) could remove one potential difference; I intended to do that anyway.

from mathnet-symbolics.

cdrnet avatar cdrnet commented on May 24, 2024

I've just tried it on another machine and it worked as well, in VS 2017 15.4.4, 15.5 preview 4 (after installing the test tools) and also on VS 2015.

from mathnet-symbolics.

FoggyFinder avatar FoggyFinder commented on May 24, 2024

But at rebuilding on VS 2017 15.4.4, I got an error in the Tests

The same error

from mathnet-symbolics.

cdrnet avatar cdrnet commented on May 24, 2024

If the change to FCS doesn't not help, I may have to revert. For me, no longer needing a test runner in the fist place makes things more straight forward, direct and simpler (especially also looking forward supporting .Net Standard). But it is important that this works for all contributors.

from mathnet-symbolics.

Related Issues (20)

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.