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

DateTimeOffsetValueComparer missing #179

Closed cimnine closed 3 weeks ago

cimnine commented 3 weeks ago

Reqnroll Version

2.0.3

Which test runner are you using?

xUnit

Test Runner Version Number

2.8.1

.NET Implementation

.NET 8.0

Test Execution Method

ReSharper Test Runner

Content of reqnroll.json configuration file

{
  "$schema": "https://schemas.reqnroll.net/reqnroll-config-latest.json",
  "stepAssemblies": [
    {
      "assembly": "CUST.Core.Test"
    }
  ]
}

Issue Description

Reqnroll has a DateTimeValueComparer, but it's missing a DateTimeOffsetValueComparer.

Steps to Reproduce

  1. Create a table with a DateTimeOffset value.
  2. Create a feature using that table.
  3. Ensure the expected value is equal to the actual value.
  4. Observe that Reqnroll finds the values not to match.

Link to Repro Project

No response