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.

Website: replace deleted assertion extensions

See original GitHub issue

@amirrajan , at some point during the port to .NET Core, we decided to drop almost all assertion extensions from NSpec library, only a few remained: IsTrue, IsFalse, ShouldBeTrue, ShouldBeFalse.

This means that many code examples in website should be modified because of this 😰

PS for those remaning assertions: naming was changed to classical .NET style. If there’s pressure, we can rename them with previous style (foo_bar_baz).

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
BrainCrumbzcommented, Feb 7, 2017

It says so:

It runs on .NET 4.0, 4.5, 4.6, CoreClr, .NET Native, Windows 8.1, Silverlight 5, Windows Phone 8.0…

When we started porting, at that time it wasn’t and so sample used to show how to configure solution in .NET Core uses Shouldy as well. At this level of usage, they look the same:

it["Should return same number"] = () => first.ShouldBe(second);
0reactions
amirrajancommented, Sep 4, 2017

I’d say got with FluentAssertions and whatever casing convention they support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug]: AssertionError: extension access disabed because ...
i have tried to install the extensions from the webUI but i keep getting this error ... Launching Web UI with arguments: --share...
Read more >
An API for accessing Public Key Credentials - Level 3
User employs a authenticator-specific method (e.g., device settings UI) to delete a credential from their authenticator. From this point on, ...
Read more >
Providing an extension to FluentAssertions
I have written an extension to the Fluent Assertions framework following a tutorial : https://fluentassertions.com/extensibility/
Read more >
Record, replay, and measure user flows - Chrome Developers
Record, replay, measure user flows, and edit their steps with the Recorder panel.
Read more >
Integration tests in ASP.NET Core
Integration tests follow a sequence of events that include the usual Arrange, Act, and Assert test steps: The SUT's web host is configured....
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