Skip to content

2.0.9

Compare
Choose a tag to compare
@tcnh tcnh released this 27 Jul 15:41
· 44 commits to master since this release

Changes

  • Added option to bootstrap-plus to filter suiteSetUp/TearDown from recent history table
  • Fixed a bug in AutoCompleteResponder where no context was created if a windows path contains spaces
  • Added symbol !Fake (object) (item) (locale) (where locale can be omitted to default to en)

!Fake implements https://github.com/DiUS/java-faker as a wiki symbol. JavaDoc: http://dius.github.io/java-faker/apidocs/index.html
This allows to generate random readable names/adresses/medical data/movie quotes/superheroes/etc. in your FitNesse Tests

Wiki texts examples:

|'''Fake data Examples'''                                                       |
|{{{!-!Fake (name) (fullName) (nl)-!      }}}|!Fake (name) (fullName) (nl)      |
|{{{!-!Fake (address) (fullAddress) (nl)-!}}}|!Fake (address) (fullAddress) (nl)|
|{{{!-!Fake (zelda) (game)-!              }}}|!Fake (zelda) (game)              |
|{{{!-!Fake (superhero) (power)-!         }}}|!Fake (superhero) (power)         |
|{{{!-!Fake (lebowski) (quote)-!          }}}|!Fake (lebowski) (quote)          |
|{{{!-!Fake (company) (name) (de)-!       }}}|!Fake (company) (name) (de)       |
|{{{!-!Fake (internet) (password)-!       }}}|!Fake (internet) (password)       |
|{{{!-!Fake (slackEmoji) (activity)-!     }}}|!Fake (slackEmoji) (activity)     |
|{{{!-!Fake (hacker) (ingverb)-!          }}}|!Fake (hacker) (ingverb)          |

image

Current limitations:

It is only possible to call Fake().object().item() at this point. Item methods that require args are not currently supported. Just like nesting deeper than obj->item.