Giter VIP home page Giter VIP logo

Comments (7)

mattwhitfield avatar mattwhitfield commented on May 30, 2024 1

Change is made in 0.108 👍

from unitverse.

DominikAmon avatar DominikAmon commented on May 30, 2024 1

I updated to the most recent version and it did solved the issue!

The Fluent Assertions are not generated anymore, when "Use Fluent Assertions" is set to "False" and "Auto-detect frameworks" is set to "True".

Good job and super fast response - I am really impressed 😲!

from unitverse.

mattwhitfield avatar mattwhitfield commented on May 30, 2024

I can't repro that, if I use the UI and turn off Fluent Assertions, I get:

await Assert.ThrowsAsync<ArgumentNullException>(() => _testClass.Method(default(IList<uint>), CancellationToken.None));

If I leave Fluent Assertions on, I get:

await FluentActions.Invoking(() => _testClass.Method(default(IList<uint>), CancellationToken.None)).Should().ThrowAsync<ArgumentNullException>();

from unitverse.

DominikAmon avatar DominikAmon commented on May 30, 2024

I could figure out the reason: There are FluentAssertions in one project, when the option "Auto-detect frameworks" is set to "true", the option "use Fluent Assertions" seems to be ignored.

Setting "Auto-detect frameworks" to "false", the FluentActions is not being generated.
2022-03-09_11h38_56

from unitverse.

mattwhitfield avatar mattwhitfield commented on May 30, 2024

Is it possible that you are turning off Fluent Assertions, then going back to the project tab and selecting a project? Because at that point it runs auto-detection... But in the example I used I had auto-detect frameworks set to True...

from unitverse.

mattwhitfield avatar mattwhitfield commented on May 30, 2024

I think in this case it probably auto-detected when selecting a project. I am pretty sure that if you turn off FluentAssertions and then click 'OK' it will generate without FluentAssertions.

I think I might change how it operates slightly though. Currently, if you click onto a project and then onto another it uses the settings from the first project as the 'base' for auto-detection. I think it should probably use the settings that were present when you opened the dialog as the base. I'll update that.

from unitverse.

mattwhitfield avatar mattwhitfield commented on May 30, 2024

Thanks, I appreciate you taking the time to come back to me. 👍

from unitverse.

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.