mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Integrating SpecFlow
asp.net inprocess appdomain utilized for integration style testing feature files generate nunit tests at "save time" with vs specflow 1.2 installed micro orchard site created dynamically in temp folder as a given step cross-domain delegate invokation based on the excellent work of Steve Sanderson http://blog.stevensanderson.com/ --HG-- branch : dev
This commit is contained in:
22
src/Orchard.Specs/Setup.feature
Normal file
22
src/Orchard.Specs/Setup.feature
Normal file
@@ -0,0 +1,22 @@
|
||||
Feature: Setup
|
||||
In order to install orchard
|
||||
As a new user
|
||||
I want to setup a new site from the default screen
|
||||
|
||||
Scenario: Root request shows setup form
|
||||
Given I have a clean site
|
||||
And I have module "Orchard.Setup"
|
||||
And I have theme "SafeMode"
|
||||
When I go to "/Default.aspx"
|
||||
Then I should see "Welcome to Orchard"
|
||||
And I should see "Finish Setup"
|
||||
And the status should be 200 OK
|
||||
|
||||
Scenario: Setup folder also shows setup form
|
||||
Given I have a clean site
|
||||
And I have module "Orchard.Setup"
|
||||
And I have theme "SafeMode"
|
||||
When I go to "/Setup"
|
||||
Then I should see "Welcome to Orchard"
|
||||
And I should see "Finish Setup"
|
||||
And the status should be 200 OK
|
||||
Reference in New Issue
Block a user