Update FitNesse version
This commit is contained in:
parent
21df7b309a
commit
a2940286d5
|
@ -3,7 +3,6 @@
|
||||||
.idea/**/workspace.xml
|
.idea/**/workspace.xml
|
||||||
.idea/dictionaries
|
.idea/dictionaries
|
||||||
fitnesse/FitNesseRoot/files
|
fitnesse/FitNesseRoot/files
|
||||||
fitnesse/FitNesseRoot/FitNesse/UserGuide/
|
|
||||||
fitnesse/fitnesse-results
|
fitnesse/fitnesse-results
|
||||||
target/
|
target/
|
||||||
*.iml
|
*.iml
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
<option name="JAR_PATH" value="$PROJECT_DIR$/fitnesse/fitnesse-standalone.jar" />
|
<option name="JAR_PATH" value="$PROJECT_DIR$/fitnesse/fitnesse-standalone.jar" />
|
||||||
<option name="PROGRAM_PARAMETERS" value="-p 5150 -d fitnesse" />
|
<option name="PROGRAM_PARAMETERS" value="-p 5150 -d fitnesse" />
|
||||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||||
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
|
<option name="ALTERNATIVE_JRE_PATH" value="10" />
|
||||||
<option name="ALTERNATIVE_JRE_PATH" value="1.8" />
|
|
||||||
<method v="2" />
|
<method v="2" />
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
|
@ -1,42 +1,60 @@
|
||||||
!2 ${FITNESSE_VERSION}
|
!2 ${FITNESSE_VERSION}
|
||||||
* Add ability to specify the locale used to format evaluated expressions ([[#929][https://github.com/unclebob/fitnesse/pull/929]])
|
* Improve stability for non pipe based SUT connection ([[197][https://github.com/unclebob/fitnesse/pull/997]])
|
||||||
|
* Fix new style wiki pages for Windows (line ending) ([[1058][https://github.com/unclebob/fitnesse/pull/1058]])
|
||||||
|
* SLiM now better handles parameter types in fixture constructors ([[1024][https://github.com/unclebob/fitnesse/pull/1024]])
|
||||||
|
* New wiki element: [[''!-!headings-!''][UserGuide.FitNesseWiki.MarkupLanguageReference.MarkupHeadings]] ([[1025][https://github.com/unclebob/fitnesse/pull/1025]])
|
||||||
|
* Define table type now work for Script table ([[1029][https://github.com/unclebob/fitnesse/pull/1029]], [[1099][https://github.com/unclebob/fitnesse/pull/1099]])
|
||||||
|
* JUnit runner supports system property based ''excludeSuiteFilter'' annotation ([[1033][https://github.com/unclebob/fitnesse/pull/1033]])
|
||||||
|
* A SuiteQuery no longer runs test pages that are excluded ([[1079][https://github.com/unclebob/fitnesse/pull/1079]])
|
||||||
|
* Root file pages are now included in the default wiki content by default ([[1084][https://github.com/unclebob/fitnesse/pull/1084]])
|
||||||
|
* Table:Table now resizes when the last line contains more results than expected ([[1055][https://github.com/unclebob/fitnesse/pull/1055]])
|
||||||
|
* Various documentation updates
|
||||||
|
* Various small improvements
|
||||||
|
|
||||||
|
For a complete list of closed issues and merged pull requests see https://github.com/unclebob/fitnesse/issues?milestone=16&state=closed.
|
||||||
|
|
||||||
|
|
||||||
|
!2 20161130
|
||||||
|
* Add ability to specify the locale used to format evaluated expressions ([[929][https://github.com/unclebob/fitnesse/pull/929]])
|
||||||
* New Slim table type: [[Baseline decision table][!-SuiteAcceptanceTests.SuiteSlimTests.BaseLineDecisionTable-!]] ([[965][https://github.com/unclebob/fitnesse/pull/965]])
|
* New Slim table type: [[Baseline decision table][!-SuiteAcceptanceTests.SuiteSlimTests.BaseLineDecisionTable-!]] ([[965][https://github.com/unclebob/fitnesse/pull/965]])
|
||||||
* Add base folder for plugin documentation ([[971][https://github.com/unclebob/fitnesse/pull/971]])
|
* Add base folder for plugin documentation ([[971][https://github.com/unclebob/fitnesse/pull/971]])
|
||||||
* !-FitNesse-! and Slim can now communicate over stdin/stdout. This removes the hassle with network ports ([[977][https://github.com/unclebob/fitnesse/pull/977]], see UserGuide.WritingAcceptanceTests.SliM.SlimProtocol.PortManagement)
|
* !-FitNesse-! and Slim can now communicate over stdin/stdout. This removes the hassle with network ports ([[977][https://github.com/unclebob/fitnesse/pull/977]], see UserGuide.WritingAcceptanceTests.SliM.SlimProtocol.PortManagement)
|
||||||
* API changes:
|
* API changes:
|
||||||
* FitNesse is more strictly propagating exceptions, instead of only logging them ([[#923][https://github.com/unclebob/fitnesse/pull/923]])
|
* FitNesse is more strictly propagating exceptions, instead of only logging them ([[923][https://github.com/unclebob/fitnesse/pull/923]])
|
||||||
* Updated ''!-FixtureInteraction-!'' interface ([[#911][https://github.com/unclebob/fitnesse/pull/911]])
|
* Updated ''!-FixtureInteraction-!'' interface ([[911][https://github.com/unclebob/fitnesse/pull/911]])
|
||||||
* To improve extensibility, scenario resolution has been moved to ``!-SlimtestContext-!'' ([[974][https://github.com/unclebob/fitnesse/pull/974]])
|
* To improve extensibility, scenario resolution has been moved to ``!-SlimtestContext-!'' ([[974][https://github.com/unclebob/fitnesse/pull/974]])''
|
||||||
* ''!-WikiPage-!'' interface now has a ''remove()'' method. This will replace the ''removeChild()'' method in the near future ([[#930][https://github.com/unclebob/fitnesse/pull/930]])
|
* ''!-WikiPage-!'' interface now has a ''remove()'' method. This will replace the ''removeChild()'' method in the near future ([[930][https://github.com/unclebob/fitnesse/pull/930]])
|
||||||
* Issues fixed:
|
* Issues fixed:
|
||||||
* Display of Map results from fixtures should allow nested HTML ([[#921][https://github.com/unclebob/fitnesse/pull/921]])
|
* Display of Map results from fixtures should allow nested HTML ([[921][https://github.com/unclebob/fitnesse/pull/921]])
|
||||||
* Fix assignment of output parameters of scenarios with graceful names in decision tables ([[#928][https://github.com/unclebob/fitnesse/pull/928]])
|
* Fix assignment of output parameters of scenarios with graceful names in decision tables ([[928][https://github.com/unclebob/fitnesse/pull/928]])
|
||||||
* Fix Where Used page for pages under a Symbolic Link ([[#925][https://github.com/unclebob/fitnesse/issues/925]])
|
* Fix Where Used page for pages under a Symbolic Link ([[925][https://github.com/unclebob/fitnesse/issues/925]])
|
||||||
* Fixed issues in ''!-CachedInteraction-!'' ([[973][https://github.com/unclebob/fitnesse/pull/973]])
|
* Fixed issues in ''!-CachedInteraction-!'' ([[973][https://github.com/unclebob/fitnesse/pull/973]])
|
||||||
|
|
||||||
For a complete list of closed issues and merged pull requests see https://github.com/unclebob/fitnesse/issues?milestone=15&state=closed.
|
For a complete list of closed issues and merged pull requests see https://github.com/unclebob/fitnesse/issues?milestone=15&state=closed.
|
||||||
|
|
||||||
|
|
||||||
!2 20160515
|
!2 20160515
|
||||||
* FitNesse requires Java 7 now ([[#872][https://github.com/unclebob/fitnesse/issues/872]], [[#877][https://github.com/unclebob/fitnesse/issues/877]])
|
* FitNesse requires Java 7 now ([[872][https://github.com/unclebob/fitnesse/issues/872]], [[877][https://github.com/unclebob/fitnesse/issues/877]])
|
||||||
* New autocomplete feature for the "move page" page ([[#867][https://github.com/unclebob/fitnesse/issues/867]])
|
* New autocomplete feature for the "move page" page ([[867][https://github.com/unclebob/fitnesse/issues/867]])
|
||||||
* Name the link to execution log simply "Execution Log" ([[#851][https://github.com/unclebob/fitnesse/issues/851]])
|
* Name the link to execution log simply "Execution Log" ([[851][https://github.com/unclebob/fitnesse/issues/851]])
|
||||||
* Dynamically add fitnesse jartoclasspath ([[#862][https://github.com/unclebob/fitnesse/issues/862]], [[#866][https://github.com/unclebob/fitnesse/issues/866]])
|
* Dynamically add fitnesse jartoclasspath ([[862][https://github.com/unclebob/fitnesse/issues/862]], [[866][https://github.com/unclebob/fitnesse/issues/866]])
|
||||||
* Searching for tags across Symbolic links ([[#488][https://github.com/unclebob/fitnesse/issues/488]], [[#888][https://github.com/unclebob/fitnesse/issues/888]])
|
* Searching for tags across Symbolic links ([[488][https://github.com/unclebob/fitnesse/issues/488]], [[888][https://github.com/unclebob/fitnesse/issues/888]])
|
||||||
* Add support for table-in-table editing in rich text editor ([[#669][https://github.com/unclebob/fitnesse/issues/669]], [[#885][https://github.com/unclebob/fitnesse/issues/885]])
|
* Add support for table-in-table editing in rich text editor ([[669][https://github.com/unclebob/fitnesse/issues/669]], [[885][https://github.com/unclebob/fitnesse/issues/885]])
|
||||||
* ''!-@SystemUnderTest-!'' now accepts method calls from subclasses ([[#907][https://github.com/unclebob/fitnesse/issues/907]])
|
* ''!-@SystemUnderTest-!'' now accepts method calls from subclasses ([[907][https://github.com/unclebob/fitnesse/issues/907]])
|
||||||
* Disallow uploading to folder ''files/fitnesse'' ([[#889][https://github.com/unclebob/fitnesse/issues/889]])
|
* Disallow uploading to folder ''files/fitnesse'' ([[889][https://github.com/unclebob/fitnesse/issues/889]])
|
||||||
* Avoid infinite cycles when using symlinks ([[#888][https://github.com/unclebob/fitnesse/issues/888]])
|
* Avoid infinite cycles when using symlinks ([[888][https://github.com/unclebob/fitnesse/issues/888]])
|
||||||
* (Slim) Deal with escaping content in hash table ([[#886][https://github.com/unclebob/fitnesse/issues/886]])
|
* (Slim) Deal with escaping content in hash table ([[886][https://github.com/unclebob/fitnesse/issues/886]])
|
||||||
* Properly handle symbol assignment in first column of a query table ([[#914][https://github.com/unclebob/fitnesse/issues/914]])
|
* Properly handle symbol assignment in first column of a query table ([[914][https://github.com/unclebob/fitnesse/issues/914]])
|
||||||
* Issues fixed:
|
* Issues fixed:
|
||||||
* !-CompareVersions-! responder is not escaping output properly ([[#861][https://github.com/unclebob/fitnesse/issues/861]], [[#869][https://github.com/unclebob/fitnesse/issues/869]])
|
* !-CompareVersions-! responder is not escaping output properly ([[861][https://github.com/unclebob/fitnesse/issues/861]], [[869][https://github.com/unclebob/fitnesse/issues/869]])
|
||||||
* Improve code by honoring ''InterruptedException'' ([[#874][https://github.com/unclebob/fitnesse/issues/874]])
|
* Improve code by honoring ''InterruptedException'' ([[874][https://github.com/unclebob/fitnesse/issues/874]])
|
||||||
* FitNesse stops again when calling /?shutdown ([[#875][https://github.com/unclebob/fitnesse/issues/875]])
|
* FitNesse stops again when calling /?shutdown ([[875][https://github.com/unclebob/fitnesse/issues/875]])
|
||||||
* Fixed: Running suites does not show the tests summaries ([[#876][https://github.com/unclebob/fitnesse/issues/876]])
|
* Fixed: Running suites does not show the tests summaries ([[876][https://github.com/unclebob/fitnesse/issues/876]])
|
||||||
* Fix escaping of HTML in Slim hash tables ([[#878][https://github.com/unclebob/fitnesse/issues/878]])
|
* Fix escaping of HTML in Slim hash tables ([[878][https://github.com/unclebob/fitnesse/issues/878]])
|
||||||
* Fix class loading for FitNesse resources ([[#880][https://github.com/unclebob/fitnesse/issues/880]])
|
* Fix class loading for FitNesse resources ([[880][https://github.com/unclebob/fitnesse/issues/880]])
|
||||||
* Change json content type from ''text/json'' to ''applicatioin/json'' ([[#891][https://github.com/unclebob/fitnesse/issues/891]])
|
* Change json content type from ''text/json'' to ''applicatioin/json'' ([[891][https://github.com/unclebob/fitnesse/issues/891]])
|
||||||
* JUnit runner now plays nice with Gradle ([[#909][https://github.com/unclebob/fitnesse/issues/909]])
|
* JUnit runner now plays nice with Gradle ([[909][https://github.com/unclebob/fitnesse/issues/909]])
|
||||||
|
|
||||||
|
|
||||||
For a complete list of closed issues and merged pull requests see https://github.com/unclebob/fitnesse/issues?milestone=14&state=closed.
|
For a complete list of closed issues and merged pull requests see https://github.com/unclebob/fitnesse/issues?milestone=14&state=closed.
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ By default table should be parsed as a decision table.
|
||||||
|Parsed as Decision fixture|
|
|Parsed as Decision fixture|
|
||||||
|
|
||||||
|
|
||||||
However after this table it should be parsed as a Table: table.
|
However after this table it should be parsed as a '''Table: table'''.
|
||||||
|
|
||||||
|Define Table Type |
|
|Define Table Type |
|
||||||
|Table or Decision Fixture|as Table|
|
|Table or Decision Fixture|as Table|
|
||||||
|
@ -14,3 +14,11 @@ However after this table it should be parsed as a Table: table.
|
||||||
|
|
||||||
|Table Or Decision Fixture |
|
|Table Or Decision Fixture |
|
||||||
|parsing as?|Parsed as Table fixture|
|
|parsing as?|Parsed as Table fixture|
|
||||||
|
|
||||||
|
The same works for script tables (which parse as decision tables in many respects).
|
||||||
|
|
||||||
|
|Define Table Type |
|
||||||
|
|Table or Decision Fixture|as Script|
|
||||||
|
|
||||||
|
|Table Or Decision Fixture |
|
||||||
|
|check|parsing as|Parsed as Decision fixture|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<properties>
|
<properties>
|
||||||
<Edit>true</Edit>
|
<Edit>true</Edit>
|
||||||
<Files>true</Files>
|
<Files>true</Files>
|
||||||
|
|
|
@ -67,17 +67,17 @@ Example
|
||||||
!3 Based on your test cases you might expect or need to add a varying number of properties to a collection.
|
!3 Based on your test cases you might expect or need to add a varying number of properties to a collection.
|
||||||
!4 Test Case with 2 properties
|
!4 Test Case with 2 properties
|
||||||
|Properties |
|
|Properties |
|
||||||
|#|property a|property b |size?|key set?|property a?|property b?|to string? |has Value '123456789' ?|
|
|#|property a|property b |size?|property a?|property b?|has Value '123456789' ?|
|
||||||
| |$S1 |123456789 |2 |[b, a] |$S1 |123456789 |{b=123456789, a=abcdefghijklmnopqrstuvwxyz} |true |
|
| |$S1 |123456789 |2 |$S1 |123456789 |true |
|
||||||
| |$S2 |"The fox jumps over the wall."|2 |[b, a] |123456789 |$S3 |{b="The fox jumps over the wall.", a=123456789} |true |
|
| |$S2 |"The fox jumps over the wall."|2 |123456789 |$S3 |true |
|
||||||
| |$S3 |abcdefghijklmnopqrstuvwxyz |2 |[b, a] |$S3 |$S1 |{b=abcdefghijklmnopqrstuvwxyz, a="The fox jumps over the wall."}|false |
|
| |$S3 |abcdefghijklmnopqrstuvwxyz |2 |$S3 |$S1 |false |
|
||||||
|
|
||||||
!4 Test Case with 3 properties added and 2 expected
|
!4 Test Case with 3 properties added and 2 expected
|
||||||
|Properties |
|
|Properties |
|
||||||
|#|property NEW|property a|property b|size?|key set?|property NEW?|property b?|to string? |has Value '123456789' ?|has Value '!-FitNesse-!'?|
|
|#|property NEW|property a|property b|size?|property NEW?|property b?|has Value '123456789' ?|has Value '!-FitNesse-!'?|
|
||||||
| |Hello |$S1 |$S2 |3 | |Hello |123456789 | |true |false |
|
| |Hello |$S1 |$S2 |3 |Hello |123456789 |true |false |
|
||||||
| |!-FitNesse-!|$S2 |$S3 |3 | | |$S3 | |true |true |
|
| |!-FitNesse-!|$S2 |$S3 |3 | |$S3 |true |true |
|
||||||
| |World |$S3 |$S1 |3 | |World |$S1 |{b=abcdefghijklmnopqrstuvwxyz, a="The fox jumps over the wall.", NEW=World}|false |false |
|
| |World |$S3 |$S1 |3 |World |$S1 |false |false |
|
||||||
|
|
||||||
|
|
||||||
!4 Look in the collapsed setup how the mapping between column names and method names is done.
|
!4 Look in the collapsed setup how the mapping between column names and method names is done.
|
||||||
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
Scenarios can be called from decision tables. They should respect the actor (i.e. fixture instance) and Slim table type (i.e. script table or a subclass) of the last script created.
|
||||||
|
|
||||||
|
!2 When we create a script using Slim's standard script table, the decision table should use that subtype also.
|
||||||
|
|
||||||
|
|scenario |my division1|numerator||denominator||expected|
|
||||||
|
|setNumerator |@numerator |
|
||||||
|
|setDenominator|@denominator |
|
||||||
|
|check |quotient |@expected |
|
||||||
|
|
||||||
|
|
||||||
|
Get the Division implementation from the eg package, and use a script subclass that uses 'verify' instead of the 'check' keyword.
|
||||||
|
|script|eg.Division|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|my division1 |
|
||||||
|
|numerator|denominator|expected|
|
||||||
|
|10 |2 |5.0 |
|
||||||
|
|
||||||
|
|
||||||
|
!2 When we create a script using a subclass of Slim's standard script table, the decision table should use that subtype also.
|
||||||
|
|
||||||
|
|scenario |my division2|numerator||denominator||expected|
|
||||||
|
|setNumerator |@numerator |
|
||||||
|
|setDenominator|@denominator |
|
||||||
|
|verify |quotient |@expected |
|
||||||
|
|
||||||
|
|
||||||
|
Get the Division implementation from the eg package, and use a script subclass that uses 'verify' instead of the 'check' keyword.
|
||||||
|
|verify script|eg.Division|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|my division2 |
|
||||||
|
|numerator|denominator|expected|
|
||||||
|
|10 |2 |5.0 |
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<properties>
|
||||||
|
<Edit>true</Edit>
|
||||||
|
<Files>true</Files>
|
||||||
|
<Properties>true</Properties>
|
||||||
|
<RecentChanges>true</RecentChanges>
|
||||||
|
<Refactor>true</Refactor>
|
||||||
|
<Search>true</Search>
|
||||||
|
<Test>true</Test>
|
||||||
|
<Versions>true</Versions>
|
||||||
|
<WhereUsed>true</WhereUsed>
|
||||||
|
</properties>
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
!1 Symbol Handling by Fixtures
|
!1 Symbol Handling by Fixtures
|
||||||
|
|
||||||
If you need advanced symbol handling in your TableTable fixtures than your fixture code must handle this.
|
If you need advanced symbol handling in your [[!-TableTable-!][.FitNesse.FullReferenceGuide.UserGuide.WritingAcceptanceTests.SliM.TableTable]] fixtures than your fixture code must handle this.
|
||||||
Advanced means that you assign to a symbol a value and need to reference this new value again in the same table.
|
Advanced means that you assign to a symbol a value and need to reference this new value again in the same table.
|
||||||
Think if you really need this as it makes your code more complicated.
|
Think if you really need this as it makes your code more complicated.
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<properties>
|
<properties>
|
||||||
<Edit>true</Edit>
|
<Edit>true</Edit>
|
||||||
<Files>true</Files>
|
<Files>true</Files>
|
||||||
<LastModifyingUser>six42</LastModifyingUser>
|
|
||||||
<Properties>true</Properties>
|
<Properties>true</Properties>
|
||||||
<RecentChanges>true</RecentChanges>
|
<RecentChanges>true</RecentChanges>
|
||||||
<Refactor>true</Refactor>
|
<Refactor>true</Refactor>
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
| this is ''italic'' text | this is <i>italic</i> text | italic widget |
|
| this is ''italic'' text | this is <i>italic</i> text | italic widget |
|
||||||
| this is '''bold''' text | this is <b>bold</b> text | bold widget |
|
| this is '''bold''' text | this is <b>bold</b> text | bold widget |
|
||||||
| !c This is centered text | <center>This is centered text</center> |
|
| !c This is centered text | <center>This is centered text</center> |
|
||||||
| !1 header | <h1>header</h1> |
|
|!1 header |<h1 id="header">header</h1> |
|
||||||
| !2 header | <h2>header</h2> |
|
|!2 header |<h2 id="header">header</h2> |
|
||||||
| !3 header | <h3>header</h3> |
|
|!3 header |<h3 id="header">header</h3> |
|
||||||
| !4 header | <h4>header</h4> |
|
|!4 header |<h4 id="header">header</h4> |
|
||||||
| !5 header | <h5>header</h5> |
|
|!5 header |<h5 id="header">header</h5> |
|
||||||
| !6 header | <h6>header</h6> |
|
|!6 header |<h6 id="header">header</h6> |
|
||||||
| http://files/x | <a href="files/x">http://files/x</a> | file link |
|
| http://files/x | <a href="files/x">http://files/x</a> | file link |
|
||||||
| http://fitnesse.org | <a href="http://fitnesse.org">http://fitnesse.org</a> | http link |
|
| http://fitnesse.org | <a href="http://fitnesse.org">http://fitnesse.org</a> | http link |
|
||||||
| SomePage | SomePage<a title="create page" href="SomePage\?edit&nonExistent=true">\[\?\]</a> | missing wiki word |
|
| SomePage | SomePage<a title="create page" href="SomePage\?edit&nonExistent=true">\[\?\]</a> | missing wiki word |
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<properties>
|
<properties>
|
||||||
<Edit/>
|
<Edit/>
|
||||||
<Files/>
|
<Files/>
|
||||||
|
|
|
@ -38,7 +38,10 @@ To reuse one of the existing styles as an entry point, create a custom css file
|
||||||
|
|
||||||
{{{
|
{{{
|
||||||
@import url(fitnesse_straight.css);
|
@import url(fitnesse_straight.css);
|
||||||
}}}Now you can simply add custom elements to it.
|
}}}
|
||||||
|
|
||||||
|
Now you can simply add custom elements to it.
|
||||||
|
For example, changing the logo to something fitting your project can be done by placing a 200 x 37 logo file names ''fitnesse-logo-small.png'' file in files/images/ and then shift-f5 reloading the page.
|
||||||
|
|
||||||
!3 Create a theme based on Bootstrap
|
!3 Create a theme based on Bootstrap
|
||||||
The Bootstrap theme took a slightly different route. It's using a subfolder for it's resources. The skeleton.vm template ([[files/fitnesse/bootstrap/templates/skeleton.vm][http://files/fitnesse/bootstrap/templates/skeleton.vm]]) contains the general markup and layout. It also contains references to the other resources used. You can find the resources used to compile the bootstrap style (lesscss templates) in fitnesse.jar: fitnesse/resources/bootstrap/less. Use those as a basis for the custom theme. There are a few more template files that are overwritten by the bootstrap theme. If the theme needs to be reusable, refer (''#parse'') the the bootstrap templates for a start and add your own customisations along the way.
|
The Bootstrap theme took a slightly different route. It's using a subfolder for it's resources. The skeleton.vm template ([[files/fitnesse/bootstrap/templates/skeleton.vm][http://files/fitnesse/bootstrap/templates/skeleton.vm]]) contains the general markup and layout. It also contains references to the other resources used. You can find the resources used to compile the bootstrap style (lesscss templates) in fitnesse.jar: fitnesse/resources/bootstrap/less. Use those as a basis for the custom theme. There are a few more template files that are overwritten by the bootstrap theme. If the theme needs to be reusable, refer (''#parse'') the the bootstrap templates for a start and add your own customisations along the way.
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
Headers are created by prefixing a line with !1 or !2 or !3
|
Headers are created by prefixing a line with !1 or !2 or !3 or !4 or !5 or !6
|
||||||
|
|
||||||
|!c '''Markup Text''' |!c '''Displayed as'''|
|
|!c '''Markup Text''' |!c '''Displayed as'''|
|
||||||
|!- !1 Title -!|!1 Title |
|
|!- !1 Title -!|!1 Title |
|
||||||
|!- !2 Header -!|!2 Header |
|
|!- !2 Header -!|!2 Header |
|
||||||
|!- !3 Second Header -!|!3 Second Header |
|
|!- !3 Second Header -!|!3 Second Header |
|
||||||
|
|!- !4 Third Header -!|!4 Third Header |
|
||||||
|
|!- !5 Fourth Header -!|!5 Fourth Header |
|
||||||
|
|!- !6 Fifth Header -!|!6 Fifth Header |
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
Headings are created by prefixing a line with !headings
|
||||||
|
|
||||||
|
|!c '''Markup Text''' |!c '''Displayed as'''|
|
||||||
|
|!- !heading -!|Table of contents |
|
||||||
|
|
||||||
|
Markup:
|
||||||
|
{{{!headings -style decimal}}}
|
||||||
|
|
||||||
|
|''' argument '''|''' description '''|
|
||||||
|
|-style |The CSS style of the list items, possible values: decimal, decimal-leading-zero, lower-roman, upper-roman, lower-alpha, upper-alpha, none. Default value: decimal. |
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<properties>
|
||||||
|
<Files/>
|
||||||
|
<LastModified>20090228113826</LastModified>
|
||||||
|
<RecentChanges>true</RecentChanges>
|
||||||
|
<WhereUsed/>
|
||||||
|
</properties>
|
|
@ -8,6 +8,7 @@ The !-FitNesse-! markup language is straightforward to learn, and powerful eno
|
||||||
| [[Style][>MarkupStyle]] | ''Setting the style of some text.'' |
|
| [[Style][>MarkupStyle]] | ''Setting the style of some text.'' |
|
||||||
| [[Cross Reference][>MarkupCrossReference]] | ''Add a cross reference to another page.'' |
|
| [[Cross Reference][>MarkupCrossReference]] | ''Add a cross reference to another page.'' |
|
||||||
| [[Headers][>MarkupHeaders]] | ''Setting a line as a title or section header.'' |
|
| [[Headers][>MarkupHeaders]] | ''Setting a line as a title or section header.'' |
|
||||||
|
| [[Headings][>MarkupHeadings]] | ''Generate a table of contents of all headers from within a wiki page.'' |
|
||||||
| [[Centering][>MarkupCenter]] | ''Centering a line.'' |
|
| [[Centering][>MarkupCenter]] | ''Centering a line.'' |
|
||||||
| [[Notes][>MarkupNote]] | ''Making a note.'' |
|
| [[Notes][>MarkupNote]] | ''Making a note.'' |
|
||||||
| [[Horizontal Rules][>MarkupHorizontalRule]] | ''Drawing a horizontal separator.'' |
|
| [[Horizontal Rules][>MarkupHorizontalRule]] | ''Drawing a horizontal separator.'' |
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
The syntax of a wiki word is ''Camel Case'': an alternating pattern of upper and lower case letters. Strictly speaking a wiki word is a string of two more more capital letters with lower case letters or numbers between them.
|
The syntax of a wiki word is ''Camel Case'': an alternating pattern of upper and lower case letters. Strictly speaking a wiki word is a string of two more capital letters with lower case letters or numbers between them.
|
||||||
|
|
||||||
* '''!-BobMartin-!''' is a wiki word.
|
* '''!-BobMartin-!''' is a wiki word.
|
||||||
* '''!-SalesReport1972-!''' is a wiki word.
|
* '''!-SalesReport1972-!''' is a wiki word.
|
||||||
|
|
|
@ -43,12 +43,15 @@
|
||||||
|${CODE}''over-text''${NUL}'''!-----------!'''${NUL}''under-text''${CODEend}|thicker |
|
|${CODE}''over-text''${NUL}'''!-----------!'''${NUL}''under-text''${CODEend}|thicker |
|
||||||
)
|
)
|
||||||
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
!define HEADINGS (${BANG}'''1''' ''largest heading text''
|
!define HEADER LINES (${BANG}'''1''' ''largest heading text''
|
||||||
${BANG}'''2''' ''middle heading text''
|
${BANG}'''2''' ''middle heading text''
|
||||||
${BANG}'''3''' ''smaller heading text''
|
${BANG}'''3''' ''smaller heading text''
|
||||||
and so on up to ${BANG}'''6'''
|
and so on up to ${BANG}'''6'''
|
||||||
)
|
)
|
||||||
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
!define HEADINGS (${BANG}'''!headings''' generates a list of all header lines
|
||||||
|
)
|
||||||
|
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
!define CollapsibleEXPANDED (${BANG}'''*''' ${OPT}''title''${OPTend}
|
!define CollapsibleEXPANDED (${BANG}'''*''' ${OPT}''title''${OPTend}
|
||||||
${SPC}${SPC}'' multi-line wiki text ''
|
${SPC}${SPC}'' multi-line wiki text ''
|
||||||
${SPC}${SPC}'' N.B.: Multiple asterisks are allowed, e.g.,'' ${BANG}'''****''' ${TEXT}
|
${SPC}${SPC}'' N.B.: Multiple asterisks are allowed, e.g.,'' ${BANG}'''****''' ${TEXT}
|
||||||
|
|
|
@ -55,7 +55,7 @@ Note the ''list'' function simply builds an !-ArrayList-! from it's arguments.
|
||||||
|
|
||||||
The first thing to notice is the ''Query:'' in the first cell of the table. This tells the Slim table processor that this is a query table. Next notice the constructor argument. (See ConstructorArguments). The column headers are ''field names''. The fixture class must have a ''query'' method that returns a list of rows. Each row is a list of fields. Each field is a two-element list composed of the ''field name'' and it's string value.
|
The first thing to notice is the ''Query:'' in the first cell of the table. This tells the Slim table processor that this is a query table. Next notice the constructor argument. (See ConstructorArguments). The column headers are ''field names''. The fixture class must have a ''query'' method that returns a list of rows. Each row is a list of fields. Each field is a two-element list composed of the ''field name'' and it's string value.
|
||||||
|
|
||||||
Each row in the table is checked to see if there is a match in the query response. The fields are matched left to right. If the leftmost field matches, then the row is considered to be "found". Fields that don't matche are marked in error as in the 10-Oct-1974 field above. A cell that is left blank in the table will be filled in from the result and counted as ignored. If the first cell of a row cannot be matched, then the row is considered ''missing''. If there is an unmatched row remaining in the query response, it is added to the table and marked ''surplus''. The order of the rows is irrelevant.
|
Each row in the table is checked to see if there is a match in the query response. The fields are matched left to right. If the leftmost field matches, then the row is considered to be "found". Fields that don't match are marked in error as in the 10-Oct-1974 field above. A cell that is left blank in the table will be filled in from the result and counted as ignored. If the first cell of a row cannot be matched, then the row is considered ''missing''. If there is an unmatched row remaining in the query response, it is added to the table and marked ''surplus''. The order of the rows is irrelevant.
|
||||||
|
|
||||||
If a !style_code(table) method is declared in the fixture it will be called before the !style_code(query) function is called. It will be passed a list of rows which are themselves lists of cells. The rows and cells represent the all but the first row of the table. This is the same format at the !style_code(doTable) method of Table table, and the !style_code(table) method of Decision table.
|
If a !style_code(table) method is declared in the fixture it will be called before the !style_code(query) function is called. It will be passed a list of rows which are themselves lists of cells. The rows and cells represent the all but the first row of the table. This is the same format at the !style_code(doTable) method of Table table, and the !style_code(table) method of Decision table.
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
!1 Get more out of !-FitNesse-!
|
||||||
|
!3 Add Plugins to your installation and extend !-FitNesse-! with additional great features.
|
||||||
|
* Suport for other programming languages
|
||||||
|
* Additional table types to express your tests and requirements in other ways
|
||||||
|
* Additional Wiki Markup commands
|
||||||
|
* Fixture frameworks you can use
|
||||||
|
* and more ...
|
||||||
|
|
||||||
|
See [[All Available Plugins][http://fitnesse.org/PlugIns?getPage&FitnesseVersion=${FITNESSE_VERSION}]] for a list of all available extensions.
|
||||||
|
|
||||||
|
Read [[Writing Plugins][FitNesse.UserGuide.AdministeringFitNesse.WritingPlugins]] to understand how to install them or write your ownn.
|
||||||
|
|
||||||
|
|
||||||
|
Below is the list of all installed plugins in this system:
|
||||||
|
|
||||||
|
!contents -R1 -g -p -f -h
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<properties>
|
||||||
|
<Edit>true</Edit>
|
||||||
|
<Files>true</Files>
|
||||||
|
<Properties>true</Properties>
|
||||||
|
<RecentChanges>true</RecentChanges>
|
||||||
|
<Refactor>true</Refactor>
|
||||||
|
<Search>true</Search>
|
||||||
|
<Versions>true</Versions>
|
||||||
|
<WhereUsed>true</WhereUsed>
|
||||||
|
</properties>
|
|
@ -0,0 +1 @@
|
||||||
|
!contents
|
|
@ -1,3 +1,3 @@
|
||||||
##FitNesse properties
|
##FitNesse properties
|
||||||
#Wed Feb 22 14:13:17 EST 2017
|
#Fri Aug 17 19:37:52 EDT 2018
|
||||||
Version=v20161106
|
Version=v20180127
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<properties>
|
||||||
|
<Edit>true</Edit>
|
||||||
|
<Files>true</Files>
|
||||||
|
<Properties>true</Properties>
|
||||||
|
<RecentChanges>true</RecentChanges>
|
||||||
|
<Refactor>true</Refactor>
|
||||||
|
<Search>true</Search>
|
||||||
|
<Versions>true</Versions>
|
||||||
|
<WhereUsed>true</WhereUsed>
|
||||||
|
</properties>
|
Binary file not shown.
Loading…
Reference in New Issue