Sample application showing an example of usage of some Func Testing framework. It provides a really minimalistic "Todo" application, and provides quick and easy way to run framework described below. To run the solution, you will need Visual Studio 2013 and .Net framework 4.5.
Func Testing examples included in this project are :
- Fitnesse
- SpecFlow (planned)
- Concordion (planned)
- [Visual Studio] (http://www.visualstudio.com/)
- Java
- Testdriven (optionnal)
- SpecFlow Extension (optionnal)
- Pickles
- ...
- clone this repository
- run .\InstallFitnesse.bat
- open the solution in visual studio
- get the dependencies with nugget
- built it
Some batch files are provided to install everything very easily:
- Launch "InstallFitnesse.bat" located on the root of the project
- Open the solution, and rebuild it
- Launch "LaunchFitnesse.bat"
- Enjoy
You will need to run Nunit test, unfortunately, it doesn't work properly with Nunit adapter. You have to use TestDriven, you can also use Galio or nunit in command line
- install TestDriven
- copy the the lib from .\lib\Concordion.Nunit.dll to \NUnit\2.6\addins
- run the test with testDriven (right click on the project -> run test...)
- you will find the generated html file here .\Concordion.Specs\Concordion\Specs\Tests\
You will need to run the Nunit tests of the Specflow.specs project : you can use the Nunit adapter, resharper or testDriven.
You also can generate some pretty outputfile, whether it's HTML or Docx with Pickles : if you installed it through nuget you can run :
Pickle-Features -FeatureDirectory .\Specflow.specs\Features -OutputDirectory .\Specflow.specs\Result
You will be able to see the result file here : .\Specflow.specs\Result