Sha256: 22e0a81669ab1f03d0e953d556253a5b65704cf489e0f7bac80c8503e1c5e8ca

Contents?: true

Size: 646 Bytes

Versions: 8

Compression:

Stored size: 646 Bytes

Contents

Slim tables can contain HTML content. If content qualifies as HTML, it is passed to the SUT as HTML.

!**> scenarios
!define html {| !note > 50% (note) |
| !meta < 50% (meta) |}

!define no_html {< 50%}

| scenario | Content | content | is returned as | out |
| check | echo | @content | @out |
| set name | @content |

| scenario | And the SUT sees | substring |
| ensure | name contains | @substring |
*!

-|script|
| Content | ${html} | is returned as | ${html} |
| And the SUT sees | !note > 50% (note) |
| And the SUT sees | !meta < 50% (meta) |

-|script|
| Content | ${no_html} | is returned as | ${no_html} |
| And the SUT sees | < 50% |

Version data entries

8 entries across 8 versions & 1 rubygems

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