From 3f306d41f2f11df57058216df55b814b9e815c68 Mon Sep 17 00:00:00 2001 From: jacek-ratzinger Date: Sat, 22 Mar 2014 20:24:51 +0100 Subject: [PATCH 1/2] update documentation for NUnit integration --- Concordion.Spec/Concordion/Concordion.html | 2 +- .../Concordion/Integration/Constructor.html | 16 ++++++------ .../Concordion/Integration/Integration.html | 25 +++++++++++++------ 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/Concordion.Spec/Concordion/Concordion.html b/Concordion.Spec/Concordion/Concordion.html index bc41265..1fd3f5f 100644 --- a/Concordion.Spec/Concordion/Concordion.html +++ b/Concordion.Spec/Concordion/Concordion.html @@ -20,7 +20,7 @@

Concordion

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.

diff --git a/Concordion.Spec/Concordion/Integration/Constructor.html b/Concordion.Spec/Concordion/Integration/Constructor.html index c196a1a..9300d0e 100644 --- a/Concordion.Spec/Concordion/Integration/Constructor.html +++ b/Concordion.Spec/Concordion/Integration/Constructor.html @@ -4,19 +4,17 @@ -

Using Constructor of Test Class for Initialization

-

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.

+

Using Constructor of Fixture Class for Initialization

+

Similar to xUnit.NET, 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.

Example

-

The test fixture class for this specification contains a parameterless +

The fixture class for this specification contains a parameterless constructor, which is called once on test execution.

-

Further Details

-
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载
diff --git a/Concordion.Spec/Concordion/Integration/Integration.html b/Concordion.Spec/Concordion/Integration/Integration.html index 3258ab7..dd15f12 100644 --- a/Concordion.Spec/Concordion/Integration/Integration.html +++ b/Concordion.Spec/Concordion/Integration/Integration.html @@ -2,19 +2,28 @@ Integration +

Running an Active Specification

- Concordion integrates with the following testing frameworks: -

- - - + 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 running Concordion-NET + tests with NUnit.

+

+ Constructors of fixture classes can be used to + initialize the environment for the execution + of active specifications.

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载
\ No newline at end of file From 40396fca050b330d2cd12ec5de1a94ed501b6362 Mon Sep 17 00:00:00 2001 From: jacek-ratzinger Date: Sun, 23 Mar 2014 11:46:46 +0100 Subject: [PATCH 2/2] fix problem with html tag "nbsp" - clean up html --- Concordion.Spec/Concordion/Integration/Integration.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Concordion.Spec/Concordion/Integration/Integration.html b/Concordion.Spec/Concordion/Integration/Integration.html index dd15f12..6a3e02f 100644 --- a/Concordion.Spec/Concordion/Integration/Integration.html +++ b/Concordion.Spec/Concordion/Integration/Integration.html @@ -15,13 +15,12 @@

Running an Active Specification

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 + provides an NUnit-Addin that allows executing active + specifications. To execute your automated tests please visit the page on running Concordion-NET - tests with NUnit.

-

+ tests with NUnit.

+

Constructors of fixture classes can be used to initialize the environment for the execution of active specifications.