Sha256: 83ce8efe456d5519fabb006d7f8500085e070a9f11f469445f962b5073a56b1a

Contents?: true

Size: 1.83 KB

Versions: 8

Compression:

Stored size: 1.83 KB

Contents

!2 This page tests table coloring.
 * Test pages that use the Slim test system should have table row coloring to better highlight test flow.

!3 Test Fit test system does not include coloring.
 * First create the test page.
|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|!-FitTestPage-!|!-!define TEST_SYSTEM {fit}
|Import|
|fit.Fixture|

|fitnesse.fixtures.ColumnFixtureTestFixture|
|input|=output?|
|1|one|

|fitnesse.fixtures.PrimeNumberRowFixture|
|prime|
|2|

| script: echo fixture |
| check | echo | Hello | Hello |

|fitnesse.fixtures.TearDown|-!||true|
|!-PageHeader-!|header||true|
|!-PageFooter-!|footer||true|

 * Then request the page.
|Response Requester.|
|uri|valid?|
|!-FitTestPage-!|true|
 * Ensure that the table have no markup coloring class entries.
|Response Examiner.|
|type|pattern|matches?|wrapped html?|
|contents|!-.*slimRowTitle.*-!|false||
|contents|!-.*slimRowColor.*-!|false||
----
!3 Test Slim test system does include coloring.
 * First create the test page.
|Page creator.|
|Page name.|Page contents.|Page attributes.|valid?|
|!-SlimTestPage-!|!-!define TEST_SYSTEM {slim}
|Import|
|fit.Fixture|

|fitnesse.fixtures.ColumnFixtureTestFixture|
|input|=output?|
|1|one|

|fitnesse.fixtures.PrimeNumberRowFixture|
|prime|
|2|

|Library|
|echo support|

|scenario|f|a||b|
|start|fitnesse.slim.test.TestSlim|

|fit.TimedActionFixture|
|start|fitnesse.fixtures.DelayedCountFixture|
|check|counter|0|
|press|count|
|check|counter|1|

|fitnesse.fixtures.TearDown|-!||true|
|!-PageHeader-!|header||true|
|!-PageFooter-!|footer||true|

 * Then request the page.
|Response Requester.|
|uri|valid?|
|!-SlimTestPage-!|true|
 * Ensure that the table have correct number of title & row markups for coloring.
|Response Examiner.|
|type|pattern|match count?|wrapped html?|
|contents|!-slimRowTitle-!|10||
|contents|!-slimRowColor-!|8||

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteWidgetTests/TestTableColoring/content.txt