question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proper FluentAssertions.NodaTime library

See original GitHub issue

Hi. I would like to use FluentAssertions with NodaTime, but the current support is limited to very generic things given by the general types used.

In order to get proper/full support for NodaTime, it would require a new library, say FluentAssertions.NodaTime. Are there any plans of supporting that? If not, would you be willing add a new library - like you currently have support for Autofac - supported by the community?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
weelinkcommented, Sep 15, 2021

I’m currently working on it: https://github.com/weelink/FluentAssertions.NodaTime

I’m going through the most useful classes in NodaTime first and are writing the assertions for it, trying to keep it similar to the assertions for DateTime, DateTimeOffset etc.

If people want to help, just let me know.

2reactions
weelinkcommented, Nov 9, 2021

The first release has been published and is available on NuGet: https://www.nuget.org/packages/FluentAssertions.NodaTime/

🥳

Read more comments on GitHub >

github_iconTop Results From Across the Web

DateTime extensions collision with NodaTime.Testing #674
I'm running into a problem using FluentAssertions in conjuction with the NodaTime. ... Both libraries add extension method. ... Sounds good.
Read more >
weelink/FluentAssertions.NodaTime
Provide feedback. We read every piece of feedback, and take your input very seriously. ... Saved searches. Use saved searches to filter your...
Read more >
FluentAssertions.NodaTime 2.0.1
Fluent Assertions extensions for NodaTime.
Read more >
Unit testing with Noda Time
The purpose of the assembly is to provide easy-to-use test doubles which can be used instead of the real implementations. While you can...
Read more >
Level Up Tests using a custom Assertion Library: Fluent ...
Fluent Assertions is an open source custom assertion library that has ... Knowledge work requires a good amount of concentration and focus.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found