Skip to content

C# runner for gauge + DotNet standard 3.1, 5.0-8.0

License

Notifications You must be signed in to change notification settings

getgauge/gauge-dotnet

Repository files navigation

Gauge-dotnet

tests Contributor Covenant

This project adds a .NET language plugin for Gauge.

The plugin is authored in C#.

Getting started

Pre-requisites

Installation

gauge install dotnet

Create a Gauge .NET project

gauge init dotnet

Run tests

gauge run specs

Alternate Installation options

Install specific version

gauge install dotnet --version 0.5.2

Offline installation

Download the plugin from Releases

gauge install dotnet --file gauge-dotnet-0.5.2.zip

Build from Source

Requirements

Running run.sh or run.cmd should give the list of all tasks available. Below sections detail some commonly used tasks.

Compiling

To build the project DLLs:

./run.cmd|./run.sh build
Testing

After compiling

To run tests (unit and integration):

./run.cmd|./run.sh test
Installing

To install the dotnet plugin use (note, this will uninstall gauge-dotnet before installing the compiled version):

./run.cmd|./run.sh forceinstall
Creating distributable
./run.cmd|./run.sh package

New distribution details need to be updated in the dotnet-install.json file in the gauge plugin repository for a new version update.

License

This program is licensed under:

Apache License, Version 2.0

Copyright

Copyright 2018 ThoughtWorks, Inc.