Pretty new to Fitnesse I am trying to figure out how to acces the _root.wiki (where we have all our database properties set) from my java code fixture extended with SlimFixture.
What I tried so far:
- Tried to set a symbol in the fixture.wiki, but I did not work and I think it is meant to be setted in Java and used in de Wiki. Right?
- Tried to !define variables in Fixture.wiki, but the Fixture does not see them when debugging in Java
What I think might work, but do not want for a reason;
- Use the fixture parameters to add the properties. However, I am aiming to use these parameters for creating different objects in the database and with these properties added the parameter list groes.....
My workaround idea:
- Read the wiki file via its path and filter out the properties I need. Not very nice.
Maybe I have it all wrong, but I hope you guys might tell me a way use wiki data in my java fixture code.