stevenknox / CoreBDD

BDD framework for xUnit.net
Apache License 2.0
18 stars 1 forks source link

Tool for dotnet cli #7

Open stevenknox opened 6 years ago

stevenknox commented 6 years ago

Tool for running CoreBDD tasks such as Spec and Test generation, running tests with custom output

corebdd test

corebdd generate specs

corebdd generate tests ./calculator.spec
stevenknox commented 6 years ago

dotnet tool install -g corebdd.commandline

corebdd test corebdd test --specs corebdd test --specs --output c:/users/steven/desktop/specs

corebdd generate specs --output c:/users/steven/desktop/specs2

corebdd generate feature --name login --namespace SampleBDD.Tests

corebdd generate scenario --name LoginToWebsite --feature login --namespace SampleBDD.Tests

iberodev commented 5 years ago

I am unable to install the CLI tool:

$ dotnet tool install -g corebdd.commandline
error NU3004: Package 'CoreBDD.CommandLine 0.9.7' from source 'https://api.nuget.org/v3/index.json': This repository indicated that all its packages are repository signed; however, this package is unsigned.
error NU3004: Package 'CoreBDD.CommandLine 0.9.7' from source 'https://api.nuget.org/v3/index.json': This repository indicated that all its packages are repository signed; however, this package is unsigned.
The tool package could not be restored.
Tool 'corebdd.commandline' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

Am I missing something?

stevenknox commented 5 years ago

I haven't came across this issue, I'll take a look and get back to you asap