Coder Social home page Coder Social logo

Comments (8)

luc50514 avatar luc50514 commented on June 2, 2024 1

Tyrben.
I had the same issue when I cloned the repo. You need to add the following packages to the project to have it run the tests. PM > Install-Package NUnit.ConsoleRunner
PM > Install-Package NUnit3TestAdapter

I found the answer here

https://adolfi.dev/blog/nunit-tests-is-not-found-or-do-not-run-in-visual-studio-s-test-explorer/

from gildedrose-refactoring-kata.

emilybache avatar emilybache commented on June 2, 2024

Sounds like your tests are not being executed. I'd check the version of the C# compiler you're using. In my IDE that means right clicking on the solution and checking which .Net SDK it's using. Then I right click on each project and under "properties" I can see the target framework. Make sure it includes a version you have installed, the same one as the overall solution.

from gildedrose-refactoring-kata.

emilybache avatar emilybache commented on June 2, 2024

I just updated the project now so it should look for version 7. Hopefully that will help.

from gildedrose-refactoring-kata.

Tyrben avatar Tyrben commented on June 2, 2024

hi, thank you for your quick action.

Unfortunately it didn't improve the situation. Neither the help I could find on https://stackoverflow.com/questions/23363073/tests-not-running-in-test-explorer
I will investigate. And reset from scratch. I'll keep you informed.
Status:

  • all nugets up to date
  • project openned via csharpcore/GildedRose.sln
  • test "foo" fixed and pass
  • but Acceptance Tests still not executing (blue marker)

from gildedrose-refactoring-kata.

emilybache avatar emilybache commented on June 2, 2024

thanks for that solution! Is that something that I can fix in the files in this repo? Or do we need a README file that explains how to do this?

from gildedrose-refactoring-kata.

luc50514 avatar luc50514 commented on June 2, 2024

I think you can run the nuget install and then check in the GildedRose.csproj file with the added references.

from gildedrose-refactoring-kata.

emilybache avatar emilybache commented on June 2, 2024

Any chance you could send me a pull request for this? I don't seem to be able to reproduce the problem so I don't think I can really fix it.

Also - could it be something to do with the reporter? The approval test fails and should open a diff window with your favourite diff tool. Perhaps that is not working and it's why the test is not running?

from gildedrose-refactoring-kata.

luc50514 avatar luc50514 commented on June 2, 2024

from gildedrose-refactoring-kata.

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.