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

Add DateTimeOffsetValueComparer #180

Closed cimnine closed 3 weeks ago

cimnine commented 3 weeks ago

🤔 What's changed?

Adds a DateTimeOffsetValueComparer, fixes https://github.com/reqnroll/Reqnroll/issues/179.

⚡️ What's your motivation?

We mostly use DateTimeOffset instead of DateTime in our projects.

🏷️ What kind of change is this?

♻️ Anything particular you want feedback on?

📋 Checklist:


This text was originally taken from the template of the Cucumber project, then edited by hand. You can modify the template here.

gasparnagy commented 3 weeks ago

@cimnine This makes sense. Could you please check the runtime test failures?

In general it is also worth noting that we did have a retriever for DateTimeOffset, but not a comparer (I don't know why).

cimnine commented 3 weeks ago

Could you please check the runtime test failures?

Done.

gasparnagy commented 3 weeks ago

@cimnine Thank you for the contribution! According to our guidelines I have invited you to the Reqnroll contributors team. Congrats! 🎉 If you accept it, you will be able to make pull requests easier in the future.

You are also welcome on our discord server: https://go.reqnroll.net/discord-invite