Skip to content
/ ProSpec Public

Prospec is the foundation of a tool to run executable specifications using Specflow. It provides a thin layer that helps you abstract your ATDD/BDD tests by using the PageObject pattern.

Notifications You must be signed in to change notification settings

kkrac/ProSpec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

* What is "ProSpec"?

ProSpec is a light library used to make your ATDD/BDD tests with SpecFlow + WatiN easier. It provides a set of classes to abstract your code from the implementation of your UI tests.
Even though it is centered on web applications with WatiN, it could be extended so as to use other browser interface such as Selenium, or even to test other types of applications (ie: Winforms).


* What does the package contain?

ProSpec comes with the framework itself, and a small Sample application.
You can find the the ProSpec.sln under \ProSpec and the Sample.sln under {...}\Src\Sample if you want to open the application in isolation.
Otherwise, you can see the Sample projects in the same ProSpec solution.

* Pre-requisites to run tests in Sample App:

1.- Install SQL Server Express edition
2.- Restore database
   * Go to {...}\Src\Sample\Setup\Database
   * Run RestoreDb.bat
3.- Specify where ASP.NET built-in Dev server is installed
   * Go to {...}\Src\Sample\Src\Sample.Configuration\Acceptance\ui.config
   * Modify the following node accordingly:
        <serverPath>C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0\WebDev.WebServer20.EXE</serverPath>
4.- Build the app
   * Go to {...}\Src\Sample\Build
   * Run build.bat


* Ok, you're done. Now, how do I run the tests?

1.- Go to the folder {...}\Src\Sample\Build
2.- Execute file Run.Browser.Tests.bat.
3.- Check for the report generated under {...}\Src\Sample\Reports\Acceptance\UI\Browser.

About

Prospec is the foundation of a tool to run executable specifications using Specflow. It provides a thin layer that helps you abstract your ATDD/BDD tests by using the PageObject pattern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published