/Expecto.Template

.net core template for an Expecto (https://github.com/haf/expecto)

Primary LanguageF#Apache License 2.0Apache-2.0

NuGet Pre Release Build Status

Expecto .net Template

It's a template for Expecto F# test library.

How to use it?

  • install template as a .net template from nuget
  • install template as a .net template locally

How to install it as a template from nuget?

  • run dotnet new -i Expecto.Template
  • create new project executing dotnet new expecto -n PROJECT_NAME -o FOLDER_NAME -lang F#

How to install it as a template locally?

  • download repository
  • run command dotnet new -i PATH, where PATH is a path to a folder where project is located
  • create new project executing dotnet new expecto -n PROJECT_NAME -o FOLDER_NAME -lang F# (since there is a known issue in dotnet cli -lang F# parameter is currently required)
  • dotnet restore
  • dotnet run or dotnet watch run or dotnet test or dotnet watch test

How it works?

  • dotnet run && dotnet test
  • dotnet watch run