Toots for xunit@dotnet.social account

Written by xUnit.net on 2024-12-16 at 19:54

It's v3 1.0.0 release day! We are excited for you to try out our newly redesigned testing framework.

Release notes:

https://xunit.net/releases/v3/1.0.0

https://xunit.net/releases/analyzers/1.18.0

https://xunit.net/releases/visualstudio/3.0.0

[#]DotNet #CSharp #FSharp #UnitTest #TDD

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-11-30 at 19:20

We have just released v3 core 0.7.0-pre.15. This includes several changes for usability that were uncovered while porting the samples projects to v3.

Release notes: https://xunit.net/releases/v3/0.7.0-pre.15

Samples project: https://github.com/xunit/samples.xunit

If you are so inclined, we would love a review of the v3 samples. If you have suggestions for additional samples, or PRs for the existing ones, that would be much appreciated!

[#]DotNet #CSharp #FSharp #UnitTest #TDD

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-11-04 at 03:16

.NET 6 is going out of support in a couple weeks: November 12, 2024[1].

We're about to ship v3 1.0. We currently support .NET 6, but... should we? Or should we bump the minimum up to .NET 8 right now, just ahead of .NET 6's retirement?

[1] = https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core

[#]DotNet

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-10-25 at 18:42

Oh, and visit the original issue if you'd prefer to expound on your thinking, as well as offer yet another alternative that we hadn't considered.

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-10-25 at 18:41

To give some clarity on thinking...

We're one day in, and right now it's 80% for do something and 20% for do nothing. That says "we should probably do something".

Of the "do something" camp, it's split just about evenly. That probably says "do the least invasive" version, which would mean "don't [Obsolete], add an analyzer instead".

But we still have 6 days to go, so...vote early, vote often? 😂

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-10-24 at 19:45

You can consider the "deprecation" option to mean "add [Obsolete]" and the "don't deprecate" option to mean "add an Info-level analyzer to point out the new API".

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-10-24 at 19:42

There is some confusion about Assert.IsAssignableFrom (which matches exact types or subtypes), mostly in which parameter is the "from" (the type or the object).

What do you think about an Assert.IsType overload that allowed you to specify whether you watched exact match (existing behavior) or subtype match (IsAssignableFrom behavior) and then soft-deprecating IsAssignableFrom?

Related issue: https://github.com/xunit/xunit/issues/3044 #DotNet #CSharp

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-10-18 at 03:46

Today we are shipping two new builds (v3 Core Framework 0.5.0-pre.27 and Visual Studio adapter 3.0.0-pre.42).

This adds new theory data serialization support (IXunitSerializer) and custom runner reporter support to v3, as well as a few smaller features and bug fixes.

Release notes:

https://xunit.net/releases/v3/0.5.0-pre.27

https://xunit.net/releases/visualstudio/3.0.0-pre.42

[#]DotNet #CSharp #FSharp #UnitTest #TDD

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-09-27 at 03:52

Today we're shipping v2 Core Framework 2.9.2, a bug fix for developers who were experiencing the TheoryData<SomeType[]> bug.

Release notes:

https://xunit.net/releases/v2/2.9.2

[#]DotNet #CSharp #FSharp #UnitTest #TDD

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-09-26 at 01:36

Good news, NCrunch users! Version 5.10 adds initial support for xUnit.net v3. https://blog.ncrunch.net/post/Xunit-v3-Support-and-continued-fixes.aspx

[#]DotNet #NCrunch

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-09-24 at 03:29

If you recently upgraded to v2 2.9.1 and found your TheoryData<SomeType[]> data sources are broken, we've found and fixed the issue: https://github.com/xunit/xunit/issues/3031

We will release a 2.9.2 RTM for this after we've had a few more days to see if any other pressing issues come up.

In the meantime you can:

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-09-22 at 22:05

Today we're shipping three new builds (v2 Core Framework 2.9.1, v3 Core Framework 0.4.0-pre.20, and Visual Studio adapter 3.0.0-pre-35).

This includes a new query filtering language, Microsoft Testing Platform support, support for capturing Console/Trace/Debug in v3 tests, a handful of new assertion library features, and several bug fixes.

Release notes:

https://xunit.net/releases/v2/2.9.1

https://xunit.net/releases/v3/0.4.0-pre.20

https://xunit.net/releases/visualstudio/3.0.0-pre.35

[#]DotNet #CSharp #FSharp #UnitTest #TDD

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-09-18 at 04:18

We're planning to add a query filter language to v3. We've got some preliminary documentation posted here: https://xunit.net/docs/query-filter-language

We would love some feedback. Our implementation isn't complete, so there's no code to try, but let us know if you think the docs are readable and the query syntax is reasonable: https://github.com/xunit/xunit/issues/1833

[#]DotNet #UnitTest #CSharp #FSharp

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-09-03 at 05:08

We just added a bit of documentation on extensibility points we've added to the exception handling in v3. This includes the ability to categorize the exception type (assertion & timeout) as well as supporting our dynamic skip system: https://xunit.net/docs/getting-started/v3/whats-new#third-party-assertion-library-extension-points

[#]DotNet #UnitTest #TDD

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-08-31 at 01:21

We just shipped our second v3 prerelease build! This includes v3 Core Framework 0.3.0-pre.18, Analyzers 1.16.0, and Visual Studio adapter 3.0.0-pre.30.

Release notes:

https://xunit.net/releases/v3/0.3.0-pre.18

https://xunit.net/releases/analyzers/1.16.0

https://xunit.net/releases/visualstudio/3.0.0-pre.30

And if you're new to v3, we have a migration guide (https://xunit.net/docs/getting-started/v3/migration) and a what's new guide (https://xunit.net/docs/getting-started/v3/whats-new)

[#]DotNet #CSharp #FSharp #UnitTest #TDD

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-08-25 at 02:28

We've updated the analyzer documentation home page and individual analyzer documentation pages to make note of which analyzers support v2 vs. v3 test projects. https://xunit.net/xunit.analyzers/rules/

[#]dotnet #CSharp #UnitTest #tdd

=> View attached media | View attached media

=> More informations about this toot | View the thread

Written by xUnit.net on 2024-08-06 at 05:45

We just shipped a bug fix update for xunit.runner.visualstudio. If you were unable to run your .NET Framework tests via dotnet test on Linux or macOS with 3.0.0-pre.20, then this fix is for you.

Release notes: https://xunit.net/releases/visualstudio/3.0.0-pre.24

[#]dotnet #csharp #fsharp #UnitTest #tdd

=> More informations about this toot | View the thread

=> This profile with reblog | Go to xunit@dotnet.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/111008131977923112
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
423.863618 milliseconds
Gemini-to-HTML Time
5.67228 milliseconds

This content has been proxied by September (3851b).