Git Product home page Git Product logo

Comments (7)

krajek avatar krajek commented on May 11, 2024

Of course [] in issue description ought to be Property, formatter ate it.

from fscheck.

kurtschelfthout avatar kurtschelfthout commented on May 11, 2024

Are you using F# 3.1 with fsharp.core 4.3.1?

from fscheck.

krajek avatar krajek commented on May 11, 2024

Yes, exactly. It reproduces every time, even in new f# project with only one file.
XUnit alone is working(FactAttribute is properly handled by both test explorer and resharper runner).
FsCheck alone is working, I can use Check.QuickThrowOnFailure.

from fscheck.

kurtschelfthout avatar kurtschelfthout commented on May 11, 2024

Weird, I can not reproduce. I have the same setup. Do you have the latest xunit runner?

Only difference is I am not using Resharper, maybe you can try disabling that to see if it has any effect.

from fscheck.

krajek avatar krajek commented on May 11, 2024

Hi again Kurt,

I would really like to help, below I give results of my further investigation.

I downloaded source code of FsCheck.XUnit project and used PropertyAttribute.fs file in my project and then it works both under Resharper and Visual Studio test runner.

Just to ensure common understanding, failing case is:

  1. Start empty F# Library Project
  2. Include FsCheck.Xunit nuget package (it takes care of FsCheck and XUnit packages)
  3. Paste code from above (using PropertyAttribute)
  4. Fail (tests is not found and run)

I confirmed the same error behaviour on VS2012.
Is it possible that FsCheck.Xunit library that gets downloaded by nuget is of wrong version or was not rebuild after some changes (what can be other reason for MissingMethod exception)?

If there is anything else I can check or do, please let me know

Thank you very much,
Best Regards

from fscheck.

kurtschelfthout avatar kurtschelfthout commented on May 11, 2024

Yes. Won't work on VS2012 as that doesn't have the latest version of F# (3.1). Other than that, it works for me in VS2013...I'm assuming there would be other reports of this thing not working if it didn't generally.

If you want, create a repo with the project that doesn't work (in VS2013) then I can clone and check.

from fscheck.

kurtschelfthout avatar kurtschelfthout commented on May 11, 2024

Closing, feel free to re-open if there's anything else to do here.

from fscheck.

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.