HsacExamples.SlimTests.UtilityFixtures.GeneratedSymbolicLinkSuite.SuiteSetUp


In this setup page we define a JSON server which contains labels translated in both in English and Dutch. The nested tests/suites check the results for each locale.

Included page: .HsacExamples.SlimTests.SuiteSetUp (edit)

An import table[?] defines which Java packages may contain fixture classes.

For these examples the following packages are required:
Import
nl.hsac.fitnesse.fixture.slim

variable defined: jsonEN=!-{-!"dog": "Dog", "cat": "Cat"!-}-!
variable defined: jsonNL=!-{-!"dog": "Hond", "cat": "Kat"!-}-!

script mock xml server setup
add response {"dog": "Dog", "cat": "Cat"} for GET: /FitNesseMock/EN
add response {"dog": "Hond", "cat": "Kat"} for GET: /FitNesseMock/NL
$url<-[http://127.0.0.1:8000/FitNesseMock] get mock server url