bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

253
active users

#unittest

0 posts0 participants0 posts today
xUnit.net<p>We have a prototype of the API documentation online: <a href="https://api.xunit.net/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">api.xunit.net/</span><span class="invisible"></span></a></p><p>We're not sure if it will live on a separate URL forever, but until the main site is rebuilt with DocFX, this is how it has to be for now.</p><p>Feedback welcome!</p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> <a href="https://dotnet.social/tags/TDD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TDD</span></a></p>
xUnit.net<p>We just shipped core framework v3 2.0.1 and source analyzers 1.21.0.</p><p>Check the release notes for new features and bugs fixed.</p><p><a href="https://xunit.net/releases/v3/2.0.1" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">xunit.net/releases/v3/2.0.1</span><span class="invisible"></span></a><br><a href="https://xunit.net/releases/analyzers/1.21.0" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">xunit.net/releases/analyzers/1</span><span class="invisible">.21.0</span></a></p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://dotnet.social/tags/FSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FSharp</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> <a href="https://dotnet.social/tags/TDD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TDD</span></a></p>
robrich<p><a href="https://github.com/SwissLife-OSS/snapshooter" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/SwissLife-OSS/snaps</span><span class="invisible">hooter</span></a> - SnapShooter is a <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotNET</span></a> <a href="https://hachyderm.io/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> snapshot tool (think Jest snapshots). Run it once, save the result, and every other test run compares to that result. For when you're asserting something big like a rendered email template.</p>
robrich<p><a href="https://jwtguard.net/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">jwtguard.net/</span><span class="invisible"></span></a> - <a href="https://hachyderm.io/tags/JWT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JWT</span></a> Guard is a cool <a href="https://hachyderm.io/tags/dotNET" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotNET</span></a> <a href="https://hachyderm.io/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> suite to verify your <a href="https://hachyderm.io/tags/ASPnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ASPnet</span></a> app's <a href="https://hachyderm.io/tags/OAuth2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OAuth2</span></a> implementation is secure. I had fun poking at it and working with <a href="https://www.linkedin.com/in/wcabus/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">linkedin.com/in/wcabus/</span><span class="invisible"></span></a> to look at .NET User JWTs with it. Turns out I had misunderstood the purpose.</p>
xUnit.net<p>We just shipped core framework v3 2.0.0.</p><p>This contains breaking changes, so the release notes are rather more detailed than normal.</p><p>Release notes: <a href="https://xunit.net/releases/v3/2.0.0" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">xunit.net/releases/v3/2.0.0</span><span class="invisible"></span></a></p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://dotnet.social/tags/FSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FSharp</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> <a href="https://dotnet.social/tags/TDD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TDD</span></a></p>
Thiago Bomfim<p>If you have many assertions, you can also use the SoftAssertions to test all the assertions and give all the results at once.</p><p>Read more 👉 <a href="https://lttr.ai/ATQTo" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lttr.ai/ATQTo</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/test" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>test</span></a> <a href="https://mastodon.social/tags/unitest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unitest</span></a> <a href="https://mastodon.social/tags/unitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unitTest</span></a> <a href="https://mastodon.social/tags/testing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>testing</span></a> <a href="https://mastodon.social/tags/AssertJ" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AssertJ</span></a> <a href="https://mastodon.social/tags/assertions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>assertions</span></a> <a href="https://mastodon.social/tags/code" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>code</span></a> <a href="https://mastodon.social/tags/developer" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>developer</span></a></p>
xUnit.net<p>More thoughts about test parallelism as it involves the starting/finished message pairs for test collections, test classes, and test methods.</p><p>If you're a runner author, do you use these messages? Can we just remove them?</p><p>Provide thoughts here: <a href="https://github.com/xunit/xunit/discussions/3164#discussioncomment-12217024" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/xunit/xunit/discuss</span><span class="invisible">ions/3164#discussioncomment-12217024</span></a></p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a></p>
Brad Wilson<p>Thinking about what an AOT version of <span class="h-card" translate="no"><a href="https://dotnet.social/@xunit" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>xunit</span></a></span> would look like. I spent some time talking to <span class="h-card" translate="no"><a href="https://hachyderm.io/@agocke" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>agocke</span></a></span> last year about it so I have some thoughts.</p><p>It almost surely end up being a completely separate code base/package. No mixing and matching, because the internal design would be very different.</p><p>Top three things I think:</p><p>- .NET 8+ only (no .NET Framework)<br>- C# only (no F# or VB)<br>- No extensibility points (you get our Fact and Theory, you get our pipeline).</p><p>1/</p><p><a href="https://mastodon.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://mastodon.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://mastodon.social/tags/FSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FSharp</span></a> <a href="https://mastodon.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a></p>
Marco Siccardi :dotnet:<p>Microsoft.Testing.Platform: Now Supported by All Major <a href="https://dotnet.social/tags/dotNET" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotNET</span></a> <a href="https://dotnet.social/tags/Test" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Test</span></a> Frameworks</p><p><a href="https://devblogs.microsoft.com/dotnet/mtp-adoption-frameworks/?utm_source=devdigest.today&amp;utm_medium=website&amp;utm_campaign=feature_promo&amp;utm_content=link_click" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">devblogs.microsoft.com/dotnet/</span><span class="invisible">mtp-adoption-frameworks/?utm_source=devdigest.today&amp;utm_medium=website&amp;utm_campaign=feature_promo&amp;utm_content=link_click</span></a></p><p><a href="https://dotnet.social/tags/testing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>testing</span></a> <a href="https://dotnet.social/tags/unittest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unittest</span></a> <a href="https://dotnet.social/tags/unittesting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unittesting</span></a></p>
xUnit.net<p>We are considering changing some of the options for the ways tests run in parallel against one another. Please read this and add your thoughts. Thanks!</p><p><a href="https://github.com/xunit/xunit/discussions/3164" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/xunit/xunit/discuss</span><span class="invisible">ions/3164</span></a></p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a></p>
Marco Siccardi :dotnet:<p>Using <a href="https://dotnet.social/tags/Regex" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Regex</span></a> to migrate from <a href="https://dotnet.social/tags/FluentAssertions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FluentAssertions</span></a> to <a href="https://dotnet.social/tags/XUnit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>XUnit</span></a> <a href="https://dotnet.social/tags/Assertions" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Assertions</span></a><br>- via <a href="https://dotnet.social/tags/ilovedotnet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ilovedotnet</span></a></p><p><a href="https://ilovedotnet.org/blogs/using-regex-to-migrate-from-fluent-assertions-to-xunit-assertions/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ilovedotnet.org/blogs/using-re</span><span class="invisible">gex-to-migrate-from-fluent-assertions-to-xunit-assertions/</span></a></p><p><a href="https://dotnet.social/tags/dotNET" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dotNET</span></a> <a href="https://dotnet.social/tags/testing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>testing</span></a> <a href="https://dotnet.social/tags/unittest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unittest</span></a></p>
xUnit.net<p>We'd like to get some feedback on a change coming in 2.0.0 for Assert.Equal displays when doing collection comparisons. We've already made a change to make string comparisons better, but should we do it for all collection values?</p><p><a href="https://github.com/xunit/xunit/discussions/3163" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/xunit/xunit/discuss</span><span class="invisible">ions/3163</span></a></p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a></p>
xUnit.net<p>We have just shipped new builds of Core Framework v3, Analyzers, and Visual Studio adapter.</p><p>Release notes:<br><a href="https://xunit.net/releases/v3/1.1.0" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">xunit.net/releases/v3/1.1.0</span><span class="invisible"></span></a><br><a href="https://xunit.net/releases/analyzers/1.20.0" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">xunit.net/releases/analyzers/1</span><span class="invisible">.20.0</span></a><br><a href="https://xunit.net/releases/visualstudio/3.0.2" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">xunit.net/releases/visualstudi</span><span class="invisible">o/3.0.2</span></a></p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/CSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CSharp</span></a> <a href="https://dotnet.social/tags/FSharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FSharp</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> <a href="https://dotnet.social/tags/TDD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TDD</span></a></p>
xUnit.net<p>We are permanently enabling support for Span/Memory and immutable collections in the assertion library, removing the XUNIT_SPAN and XUNIT_IMMUTABLE_COLLECTIONS flags for source-based consumers.</p><p>You may need to add NuGet package references to System.Collections.Immutable and/or System.Memory.</p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a></p>
sumanthvepa<p>If you are writing individual unittests, you may be doing testing wrong.</p><p>I finally <a href="https://mastodon.social/tags/parameterized" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parameterized</span></a> all the <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/unittest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unittest</span></a> for my deployment tool. </p><p>This is the way testing should be done. </p><p>The way testing is taught, with single unit tests is very misleading.</p><p>With parameterized tests, I can automatically test a significant portion of the input space of function or program. </p><p><a href="https://mastodon.social/tags/testing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>testing</span></a> <a href="https://mastodon.social/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>softwaredevelopment</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
:rss: DevelopersIO<p>HypothesisでPydanticのPBTをしてみた<br><a href="https://dev.classmethod.jp/articles/hypothesis-pydantic-pbt/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dev.classmethod.jp/articles/hy</span><span class="invisible">pothesis-pydantic-pbt/</span></a></p><p><a href="https://rss-mstdn.studiofreesia.com/tags/dev_classmethod" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dev_classmethod</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Test" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Test</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/pytest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pytest</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E3%83%86%E3%82%B9%E3%83%88%E8%87%AA%E5%8B%95%E5%8C%96" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>テスト自動化</span></a> <a href="https://rss-mstdn.studiofreesia.com/tags/%E3%83%84%E3%83%BC%E3%83%AB" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ツール</span></a></p>
xUnit.net<p>We are planning to bump up the minimum version of .NET from 6 to 8 in the 2.0 release. The 1.x releases will continue to allow targeting .NET 6.</p><p>There is no timeline yet for this release.</p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a></p>
Brian Okken :python:<p>Goodbye Michael Foord. <br>You will be missed. <br>- Nice write up by Nicholas Tollervey: <a href="https://ntoll.org/article/my-friend-michael/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ntoll.org/article/my-friend-mi</span><span class="invisible">chael/</span></a><br>- 2021 interview with him: <a href="https://testandcode.com/episodes/145-for-those-about-to-mock-michael-foord" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">testandcode.com/episodes/145-f</span><span class="invisible">or-those-about-to-mock-michael-foord</span></a></p><p><a href="https://fosstodon.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a> <a href="https://fosstodon.org/tags/unittest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unittest</span></a> <a href="https://fosstodon.org/tags/mock" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mock</span></a> <a href="https://fosstodon.org/tags/hoopyfrood" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hoopyfrood</span></a></p>
sumanthvepa<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@ehmatthes" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ehmatthes</span></a></span> No particular reason, other than that <a href="https://mastodon.social/tags/unittest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unittest</span></a> comes with the standard library. </p><p>Maybe, that's all I need to do. Just switch to <a href="https://mastodon.social/tags/pytest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pytest</span></a>.</p><p>It is the weekend, and I am writing experimental code. So what the heck. I'll ask ChatGPT to rewrite the tests using pytest.</p>
xUnit.net<p>Do you think it's weird that v3 test projects are stand-alone executables? You're not alone. Here is a brief history behind the decision.</p><p><a href="https://github.com/xunit/xunit/issues/3139#issuecomment-2611568692" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/xunit/xunit/issues/</span><span class="invisible">3139#issuecomment-2611568692</span></a></p><p><a href="https://dotnet.social/tags/DotNet" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DotNet</span></a> <a href="https://dotnet.social/tags/UnitTest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>UnitTest</span></a> <a href="https://dotnet.social/tags/MicrosoftTestingPlatform" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MicrosoftTestingPlatform</span></a></p>