reqnroll / Reqnroll

Open-source Cucumber-style BDD test automation framework for .NET.
https://reqnroll.net
BSD 3-Clause "New" or "Revised" License
302 stars 33 forks source link

Fix xUnit execution on Linux & .NET Framework (Mono) #132

Closed gasparnagy closed 1 month ago

gasparnagy commented 1 month ago

Reqnroll Version

1.0.1

Which test runner are you using?

xUnit

Test Runner Version Number

n/a

.NET Implementation

.NET Framework 4.6.2 or later

Test Execution Method

Visual Studio Test Explorer

Content of reqnroll.json configuration file

No response

Issue Description

The Reqnroll.SystemTests.Portability.PortabilityTestBase.GeneratorAllIn_sample_can_be_handled tests fail for xUnit on Mono (Linux). See #131.

The tests have been temporarily disabled in the method.

Steps to Reproduce

Remove disabling from Reqnroll.SystemTests.Portability.PortabilityTestBase.GeneratorAllIn_sample_can_be_handled, run CI

Link to Repro Project

No response

gasparnagy commented 1 month ago

I wonder whether this is a problem with Reqnroll, or xUnit itself. It only affects linux + .NET 4.6.2 or .NET 4.7.2. (.NET 4.8 and .NET 6+ works). Maybe we should just add this to the compatibility list and close this.

gasparnagy commented 1 month ago

It seems that xUnit v2 (that we used in tests) is not officially supported by xUnit: https://xunit.net/docs/v3-alpha#v2-changes.

Closing this.