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.

Docs: Guidance on using NSpec in dotnet core

See original GitHub issue

For those wondering how to get started, this is what I figured out so far.

  1. Create a new xunittest project by running the command dotnet new -t xunittest
  2. Replace xunit nuget package in the project.json with "NSpec": "2.0.0"
  3. Replace dotnet-test-xunit nuget package in the project.json with "dotnet-test-nspec": "0.1.0"
  4. Replace xunit in the testRunner setting of the project.json file with nspec
  5. Run dotnet restore followed by dotnet test to restore and execute the test project.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
BrainCrumbzcommented, Feb 8, 2017

I think we’ll be adding those steps you described to the docs as well, @amirrajan

2reactions
BennieCopelandcommented, Feb 8, 2017

I wasn’t sure how to create a test project otherwise. I’m now happily converting all my xunit projects over.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NSpec - A testing framework that's like Mocha and RSpec, but ...
NSpec is a battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec. It has a fancy logo, is released...
Read more >
nuspec File Reference for NuGet
The .nuspec file contains package metadata used when building a package and to provide information to package consumers.
Read more >
NSpec templates for .NET Core command line interface
DotNetNewNSpec is a set of Visual Studio project templates to be used when creating projects from .NET Core dotnet new command line interface....
Read more >
.NET | RudderStack Docs
RudderStack's .NET SDK lets you track your customer event data from your .NET applications and send it to your specified destinations via RudderStack....
Read more >
Overview
This guide covers RabbitMQ .NET/C# client and its public API. It assumes that the most recent major version of the client is used...
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