Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiptest/hps-specflow
Hiptest publisher samples with Specflow
https://github.com/hiptest/hps-specflow
Last synced: about 2 months ago
JSON representation
Hiptest publisher samples with Specflow
- Host: GitHub
- URL: https://github.com/hiptest/hps-specflow
- Owner: hiptest
- Created: 2015-11-24T16:29:18.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-29T20:52:50.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T03:15:53.478Z (2 months ago)
- Language: C#
- Size: 42 KB
- Stars: 1
- Watchers: 9
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hps-specflow
[![Build Status](https://travis-ci.org/hiptest/hps-specflow.svg?branch=master)](https://travis-ci.org/hiptest/hps-specflow)
Hiptest publisher samples with Specflow
In this repository you'll find tests generated in Specflow format from [Hiptest](https://hiptest.com), using [Hiptest publisher](https://github.com/hiptest/hiptest-publisher).
The goals are:
* to show how tests are exported in Specflow.
* to check exports work out of the box (well, with implemented actionwords)System under test
------------------The SUT is a (not that much) simple coffee machine. You start it, you ask for a coffee and you get it, sometimes. But most of times you have to add water or beans, empty the grounds. You have an automatic expresso machine at work or at home? So you know how it goes :-)
Update tests
-------------To update the tests:
hiptest-publisher -c specflow.conf --only=features,step_definitions
The tests are generated in [``features/``](https://github.com/hiptest/hps-specflow/tree/master/features)
Run tests
---------To build the project and run the tests, use the following command:
xbuild specflow_samples.csproj /t:buildnunitfiles
xbuild specflow_samples.csproj /t:compile
xbuild specflow_samples.csproj /t:testThe SUT implementation can be seen in [``class/CoffeeMachine.cs``](https://github.com/hiptest/hps-specflow/blob/master/class/CoffeeMachine.cs)
The test report is generated in ```TestResult.xml```