Code Monkey home page Code Monkey logo

Comments (5)

navozenko avatar navozenko commented on June 19, 2024

Hi, stroebele.
Unfortunately I could not reproduce the issue. Can you give a full example of the project? Which .NET framework? What OS? What version of .NUnit are you using? What VS? What test runner?

from linqspecs.

nuclearsuitcase avatar nuclearsuitcase commented on June 19, 2024

I created a PR #4 with a unit test that recreates the issue for me. I wish there was a better way of catching the error.

from linqspecs.

navozenko avatar navozenko commented on June 19, 2024

I can not reproduce the exception. I have run your test with both TestDriven.NET and Microsoft Test Explorer.

And in truth, I generally do not understand where StackoverflowException can comes from when execution is suspendedat the breakpoint, because LinqSpecs is a single-threaded library (threads and tasks are not used). Also Specification class has no constructor and static fields.

Could this be a bug of the test runner you are using? Which runner you are using? May be ReSharper?.. it is very bugged.. Try another test runner please.

And post a complete exception message including a stacktrace please.
Also I ask you to comment line with var customSpec = new CustomSpec("Jose"); Does exception disappear?

from linqspecs.

nuclearsuitcase avatar nuclearsuitcase commented on June 19, 2024

You nailed it, Resharper was the problem. Even using MS Test Explorer would cause a crash, however once Resharper was completely disabled, everything worked fine. Thanks for your help.

from linqspecs.

navozenko avatar navozenko commented on June 19, 2024

OK, thanks.

from linqspecs.

Related Issues (4)

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.