https://github.com/getgauge/gauge-dotnet
C# runner for gauge + DotNet standard 6.0-9.0
https://github.com/getgauge/gauge-dotnet
gauge gauge-plugin test-automation
Last synced: about 1 month ago
JSON representation
C# runner for gauge + DotNet standard 6.0-9.0
- Host: GitHub
- URL: https://github.com/getgauge/gauge-dotnet
- Owner: getgauge
- License: apache-2.0
- Created: 2018-01-02T11:28:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-05-12T07:10:56.000Z (about 1 month ago)
- Last Synced: 2025-05-12T08:36:51.447Z (about 1 month ago)
- Topics: gauge, gauge-plugin, test-automation
- Language: C#
- Homepage:
- Size: 2.61 MB
- Stars: 27
- Watchers: 16
- Forks: 21
- Open Issues: 8
-
Metadata Files:
- Readme: README.MD
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Gauge-dotnet
[](https://github.com/getgauge/gauge-dotnet/actions/workflows/build.yml)
[](CODE_OF_CONDUCT.md)This project adds a .NET [language plugin](https://gauge.org/plugins/) for [Gauge](https://gauge.org).
The plugin is authored in [C#](https://en.wikipedia.org/wiki/C_Sharp_(programming_language)).
## Getting started
### Pre-requisites
- [Gauge](https://gauge.org/)
- [.NET](https://learn.microsoft.com/en-us/dotnet/fundamentals/)### 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.6.0
```#### Offline installation
Download the plugin from [Releases](https://github.com/getgauge/gauge-dotnet/releases)
```
gauge install dotnet --file gauge-dotnet-0.5.8.zip
```#### Build from Source
##### Requirements
* [.NET](https://learn.microsoft.com/en-us/dotnet/fundamentals/)
* [Gauge](https://gauge.org/)
* [JQ](https://stedolan.github.io/jq/) (for unix)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](https://github.com/getgauge/gauge-repository) for a new version update.
## License
This program is licensed under:
Apache License, Version 2.0
## Copyright
Copyright 2018 ThoughtWorks, Inc.