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.

DebuggerShim.cs missing using statement for NSpec.Assertions

See original GitHub issue

Installing the NSpec package into a new .Net 4.6.2 console application, I get an error on line 47 that 'bool' does not contain a definition for 'ShouldBeTrue' and no extension method 'ShouldBeTrue' accepting a first argument of type 'bool' could be found Adding the NSpec.Assertions namespace fixes the issue.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
amirrajancommented, Mar 21, 2017

I updated the “hello world” code on the website. That one should work, but I still need to work through all the other ones and make sure they work with the latest version of NSpec

0reactions
BrainCrumbzcommented, Mar 21, 2017

Gosh, that was right in issue title! 😮 Sorry for not noticing it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resharper | chrisseroka - WordPress.com
DebuggerShim was a tool (nunit TestFixture) that run some given specification. By renaming it to “nspec” class it's become a wrapper for all...
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