+
Skip to content

fix minor issues on tests and update active specifications #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Concordion.Spec/Concordion/Concordion.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1>Concordion</h1>
brings together testing and specification.
Concrete examples of expected behaviour (written in HTML) can be
instrumented with Concordion commands that run tests against the
real system via some Java fixture code.
real system via some fixture code.
The fixture code helps to decouple the specs from the system.
</p>

Expand Down
16 changes: 7 additions & 9 deletions Concordion.Spec/Concordion/Integration/Constructor.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,17 @@
<link href="../../../../concordion.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Using Constructor of Test Class for Initialization</h1>
<p> Similar to xUnit, where setup of test is accomplished through a
parameterless constructor. For each execution of the examples within an
active specification this constructor is called.</p>
<h1>Using Constructor of Fixture Class for Initialization</h1>
<p> Similar to <a href="http://xunit.codeplex.com/">xUnit.NET</a>, where setup of test is accomplished through a
parameterless constructor, constructors of fixture classes can be used with
Concordion-NET to setup execution of active specifications. Before the execution of
all examples within an
active specification the constructor without parameters is called.</p>
<div class="example">
<h3>Example</h3>
<p>The test fixture class for this specification contains a parameterless
<p>The fixture class for this specification contains a parameterless
constructor, which is <span concordion:assertTrue="ConstructorCallCount == 1">called once</span>
on <span concordion:execute="ResetCounter()">test execution</span>.</p>
</div>
<h2>Further Details</h2>
<ul>
<li><a href="../Whitespace/LineContinuations.html">Line continuations</a></li>
</ul>
</body>
</html>
24 changes: 16 additions & 8 deletions Concordion.Spec/Concordion/Integration/Integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,27 @@
<head>
<link href="../../concordion.css" rel="stylesheet" type="text/css" />
<title>Integration</title>
<style type="text/css">
.auto-style1 {
font-size: 13px;
letter-spacing: normal;
}
</style>
</head>
<body>

<h1>Running an Active Specification</h1>

<p>
Concordion integrates with the following testing frameworks:
</p>
<ul>
<li>JUnit 3.8 [<a href="junit3/Junit3.html">Guide</a>]</li>
<li>JUnit 4.4</li>
</ul>


Concordion-NET integrates with
one of the most popular testing frameworks, NUnit. Concordion-NET
provides an NUnit-Addin that allows executing active
specifications. To execute your automated tests please visit the
page on <a href="../../../doc/RunningTests.html">running Concordion-NET
tests with NUnit</a>.</p>
<p>
Constructors of fixture classes can be used to
<a href="Constructor.html">initialize the environment for the execution
of active specifications</a>.</p>
</body>
</html>
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载