Skip to content

Commit

Permalink
Renamed ModelFiture
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarnold committed Nov 16, 2012
1 parent 5d28145 commit a47bc47
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Expand Up @@ -7,9 +7,9 @@

namespace SystemStateExample.StoryTeller.Fixtures.Data
{
public class ModelFixture : Fixture
public class SystemStateFixture : Fixture
{
public ModelFixture()
public SystemStateFixture()
{
Title = "The system state is";
}
Expand Down
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<TestResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExecutionTime="11.489296399999999" ExceptionText="" WasCancelled="false" Locator="Registration/Verify available subscription plans">
<TestResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExecutionTime="11.681914299999999" ExceptionText="" WasCancelled="false" Locator="Registration/Verify available subscription plans">
<Html>&lt;!DOCTYPE html&gt;
&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;style&gt;body
{
Expand Down Expand Up @@ -426,7 +426,7 @@ div.caption
{
padding: 0px;
margin-left: 20px;
}&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;div id="testEditor" class="main test-editor"&gt;&lt;h2 class="testName"&gt;Verify available subscription plans&lt;/h2&gt;&lt;h5&gt;Suite: SystemStateExample/Registration&lt;/h5&gt;&lt;div class="results results-pass"&gt;Succeeded with Rights: 2, Wrongs: 0, Exceptions: 0, SyntaxErrors: 0&lt;/div&gt;&lt;div class="container section test-editor"&gt;&lt;div&gt;&lt;div class="step-holder"&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Data.ModelFixture" class="section-title"&gt;The system state is&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div&gt;&lt;div class="table-title"&gt;The Subscription Plans are&lt;/div&gt;&lt;div class="table-container table-cell"&gt;&lt;table cellpadding="0" cellspacing="0" class="table"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="left-cell"&gt;Name&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Register.RegistrationFixture" class="section-title"&gt;In the &amp;#39;Registration&amp;#39; screen&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div&gt;&lt;div class="table-title"&gt;Verify subscription plans&lt;/div&gt;&lt;div class="table-container table-cell"&gt;&lt;table cellpadding="0" cellspacing="0" class="table setverification"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="left-cell"&gt;Name&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr class="pass"&gt;&lt;td class="left-cell"&gt;Plan 1&lt;/td&gt;&lt;/tr&gt;&lt;tr class="pass"&gt;&lt;td class="left-cell"&gt;Plan 2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</Html>
}&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;div id="testEditor" class="main test-editor"&gt;&lt;h2 class="testName"&gt;Verify available subscription plans&lt;/h2&gt;&lt;h5&gt;Suite: SystemStateExample/Registration&lt;/h5&gt;&lt;div class="results results-pass"&gt;Succeeded with Rights: 2, Wrongs: 0, Exceptions: 0, SyntaxErrors: 0&lt;/div&gt;&lt;div class="container section test-editor"&gt;&lt;div&gt;&lt;div class="step-holder"&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Data.SystemStateFixture" class="section-title"&gt;The system state is&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div&gt;&lt;div class="table-title"&gt;The Subscription Plans are&lt;/div&gt;&lt;div class="table-container table-cell"&gt;&lt;table cellpadding="0" cellspacing="0" class="table"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="left-cell"&gt;Name&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Register.RegistrationFixture" class="section-title"&gt;In the &amp;#39;Registration&amp;#39; screen&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div&gt;&lt;div class="table-title"&gt;Verify subscription plans&lt;/div&gt;&lt;div class="table-container table-cell"&gt;&lt;table cellpadding="0" cellspacing="0" class="table setverification"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="left-cell"&gt;Name&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr class="pass"&gt;&lt;td class="left-cell"&gt;Plan 1&lt;/td&gt;&lt;/tr&gt;&lt;tr class="pass"&gt;&lt;td class="left-cell"&gt;Plan 2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</Html>
<Counts Rights="2" Wrongs="0" Exceptions="0" SyntaxErrors="0" />
<FullExceptionText />
</TestResult>
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<TestResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExecutionTime="1.747777" ExceptionText="" WasCancelled="false" Locator="Registration/Verify confirmation email">
<TestResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExecutionTime="1.6418857999999998" ExceptionText="" WasCancelled="false" Locator="Registration/Verify confirmation email">
<Html>&lt;!DOCTYPE html&gt;
&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;style&gt;body
{
Expand Down Expand Up @@ -426,7 +426,7 @@ div.caption
{
padding: 0px;
margin-left: 20px;
}&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;div id="testEditor" class="main test-editor"&gt;&lt;h2 class="testName"&gt;Verify confirmation email&lt;/h2&gt;&lt;h5&gt;Suite: SystemStateExample/Registration&lt;/h5&gt;&lt;div class="results results-pass"&gt;Succeeded with Rights: 1, Wrongs: 0, Exceptions: 0, SyntaxErrors: 0&lt;/div&gt;&lt;div class="container section test-editor"&gt;&lt;div&gt;&lt;div class="step-holder"&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Data.ModelFixture" class="section-title"&gt;The system state is&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div&gt;&lt;div class="table-title"&gt;The Subscription Plans are&lt;/div&gt;&lt;div class="table-container table-cell"&gt;&lt;table cellpadding="0" cellspacing="0" class="table"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="left-cell"&gt;Name&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="StubEmailGateway sentence"&gt;&lt;span&gt;Start/Configure the SMTP Server&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Register.RegistrationFixture" class="section-title"&gt;In the &amp;#39;Registration&amp;#39; screen&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div class="EnterName sentence"&gt;&lt;span&gt;Enter &lt;/span&gt;&lt;span class="input"&gt;Josh&lt;/span&gt;&lt;span&gt; for en-US_Name&lt;/span&gt;&lt;/div&gt;&lt;div class="EnterEmailAddress sentence"&gt;&lt;span&gt;Enter &lt;/span&gt;&lt;span class="input"&gt;test@test.com&lt;/span&gt;&lt;span&gt; for en-US_EmailAddress&lt;/span&gt;&lt;/div&gt;&lt;div class="EnterPassword sentence"&gt;&lt;span&gt;Enter &lt;/span&gt;&lt;span class="input"&gt;1234&lt;/span&gt;&lt;span&gt; for en-US_Password&lt;/span&gt;&lt;/div&gt;&lt;div class="ClickTheSubmitButton sentence"&gt;&lt;span&gt;Click the &amp;#39;Create Account&amp;#39; button&lt;/span&gt;&lt;/div&gt;&lt;div class="VerifyEmail sentence pass"&gt;&lt;span class="fact"&gt;Verify that a confirmation email was received&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</Html>
}&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;div id="testEditor" class="main test-editor"&gt;&lt;h2 class="testName"&gt;Verify confirmation email&lt;/h2&gt;&lt;h5&gt;Suite: SystemStateExample/Registration&lt;/h5&gt;&lt;div class="results results-pass"&gt;Succeeded with Rights: 1, Wrongs: 0, Exceptions: 0, SyntaxErrors: 0&lt;/div&gt;&lt;div class="container section test-editor"&gt;&lt;div&gt;&lt;div class="step-holder"&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Data.SystemStateFixture" class="section-title"&gt;The system state is&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div&gt;&lt;div class="table-title"&gt;The Subscription Plans are&lt;/div&gt;&lt;div class="table-container table-cell"&gt;&lt;table cellpadding="0" cellspacing="0" class="table"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="left-cell"&gt;Name&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="input left-cell"&gt;Plan 2&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="StubEmailGateway sentence"&gt;&lt;span&gt;Start/Configure the SMTP Server&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="section"&gt;&lt;h3 title="SystemStateExample.StoryTeller.Fixtures.Register.RegistrationFixture" class="section-title"&gt;In the &amp;#39;Registration&amp;#39; screen&lt;/h3&gt;&lt;div class="section-body"&gt;&lt;div class="EnterName sentence"&gt;&lt;span&gt;Enter &lt;/span&gt;&lt;span class="input"&gt;Josh&lt;/span&gt;&lt;span&gt; for en-US_Name&lt;/span&gt;&lt;/div&gt;&lt;div class="EnterEmailAddress sentence"&gt;&lt;span&gt;Enter &lt;/span&gt;&lt;span class="input"&gt;test@test.com&lt;/span&gt;&lt;span&gt; for en-US_EmailAddress&lt;/span&gt;&lt;/div&gt;&lt;div class="EnterPassword sentence"&gt;&lt;span&gt;Enter &lt;/span&gt;&lt;span class="input"&gt;1234&lt;/span&gt;&lt;span&gt; for en-US_Password&lt;/span&gt;&lt;/div&gt;&lt;div class="ClickTheSubmitButton sentence"&gt;&lt;span&gt;Click the &amp;#39;Create Account&amp;#39; button&lt;/span&gt;&lt;/div&gt;&lt;div class="VerifyEmail sentence pass"&gt;&lt;span class="fact"&gt;Verify that a confirmation email was received&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;</Html>
<Counts Rights="1" Wrongs="0" Exceptions="0" SyntaxErrors="0" />
<FullExceptionText />
</TestResult>
Expand Up @@ -120,7 +120,7 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Fixtures\Data\ModelFixture.cs" />
<Compile Include="Fixtures\Data\SystemStateFixture.cs" />
<Compile Include="Fixtures\Data\SmtpServerController.cs" />
<Compile Include="Fixtures\Register\RegistrationFixture.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
Expand Down
@@ -1,13 +1,13 @@
<?xml version="1.0"?>
<Test name="Verify available subscription plans" lifecycle="Acceptance">
<Model>
<SystemState>
<TheSubscriptionPlans isStep="True">
<Rows>
<row isStep="True" Name="Plan 1" />
<row isStep="True" Name="Plan 2" />
</Rows>
</TheSubscriptionPlans>
</Model>
</SystemState>
<Registration>
<VerifySubscriptionPlans isStep="True">
<rows>
Expand Down
@@ -1,14 +1,14 @@
<?xml version="1.0"?>
<Test name="Verify confirmation email" lifecycle="Acceptance">
<Model>
<SystemState>
<TheSubscriptionPlans isStep="True">
<Rows>
<row isStep="True" Name="Plan 1" />
<row isStep="True" Name="Plan 2" />
</Rows>
</TheSubscriptionPlans>
<StubEmailGateway isStep="True" />
</Model>
</SystemState>
<Registration>
<EnterName isStep="True" Name="Josh" />
<EnterEmailAddress isStep="True" EmailAddress="test@test.com" />
Expand Down

0 comments on commit a47bc47

Please sign in to comment.