home.social

#shouldly — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #shouldly, aggregated by home.social.

  1. New post from my blog...

    In case you missed it earlier...

    Testing in .NET with xUnit + NSubstitute + Shouldly
    barretblake.dev/posts/developm

  2. Oh Mann, ich schreibe gerade alles um von FluentAssertions auf Shouldly...

  3. If you are "unhappy" with license changes in FluentAssertions since version v8.0, you can force it to stay on v7.x.

    .NET (Core), project file:

    <code>
    <ItemGroup>
    <PackageReference Include="FluentAssertions" Version="[7.0,8.0)" />
    </ItemGroup>
    </code>

    .NET Framework, packages.config:

    <code>
    <packages>
    <package id="FluentAssertions" version="7.0.0" allowedVersions="[7,8)" targetFramework="net48" />
    </packages>
    </code>

    Or just use Shouldly in future projects...

    hth

    #FluentAssertions #Shouldly #NuGet #UnitTesting #dotnet

  4. If you are "unhappy" with license changes in FluentAssertions since version v8.0, you can force it to stay on v7.x.

    .NET (Core), project file:

    <code>
    <ItemGroup>
    <PackageReference Include="FluentAssertions" Version="[7.0,8.0)" />
    </ItemGroup>
    </code>

    .NET Framework, packages.config:

    <code>
    <packages>
    <package id="FluentAssertions" version="7.0.0" allowedVersions="[7,8)" targetFramework="net48" />
    </packages>
    </code>

    Or just use Shouldly in future projects...

    hth

    #FluentAssertions #Shouldly #NuGet #UnitTesting #dotnet

  5. If you are "unhappy" with license changes in FluentAssertions since version v8.0, you can force it to stay on v7.x.

    .NET (Core), project file:

    <code>
    <ItemGroup>
    <PackageReference Include="FluentAssertions" Version="[7.0,8.0)" />
    </ItemGroup>
    </code>

    .NET Framework, packages.config:

    <code>
    <packages>
    <package id="FluentAssertions" version="7.0.0" allowedVersions="[7,8)" targetFramework="net48" />
    </packages>
    </code>

    Or just use Shouldly in future projects...

    hth

  6. @svelmoe @ddoomen I think for us the biggest missing part is `Should().BeEquivalentTo()` for complex object graphs when migrating to @xunit Assert or #Shouldly

  7. @svelmoe @ddoomen I think for us the biggest missing part is `Should().BeEquivalentTo()` for complex object graphs when migrating to @xunit Assert or #Shouldly

  8. @svelmoe @ddoomen I think for us the biggest missing part is `Should().BeEquivalentTo()` for complex object graphs when migrating to @xunit Assert or #Shouldly

  9. @svelmoe @ddoomen We are in exactly the same situation. The new licensing costs are just too expensive for us. Maybe there will be a good migration path to #Shouldly?

  10. @svelmoe @ddoomen We are in exactly the same situation. The new licensing costs are just too expensive for us. Maybe there will be a good migration path to #Shouldly?

  11. @svelmoe @ddoomen We are in exactly the same situation. The new licensing costs are just too expensive for us. Maybe there will be a good migration path to #Shouldly?