Running STIQ On Unix

From STIQ

Jump to: navigation, search

If you want to install STIQ on Mac or Unix:

  • Download the binary distribution (storytestiq-2.0-RC4-bin.zip) from [Source Forge]
  • Unzip into the directory of your choice


Contents

Unix

Sorry, we haven't published in the download a startup script for Unix yet; you will just need to edit one of the DOS batch files. Typically you will need to:
  • Change the Java classpath delimiter ";" to the Unix delimiter ":"
  • Change "start firefox.exe" in the script to launch your browser instead.
  • See below for a Mac OS X script (unix script with Mac OS commands)

Linux

  • Create the following file run_stiq_server.sh (In the installation folder of storytestiq)
  • Paste the following
java -cp "bin/storytestiq.jar:bin/lib/*.jar:bin/lib/fitlibrary-1.1.jar:bin/lib/jdbc-csv-mock.jar:bin/lib/junit-3.8.1.jar:bin/lib/ojdbc-14.jar:bin/lib/selenium-server.jar:bin/lib/sqlserver-1.0.809.jar:bin/lib/Tidy.jar" fitnesse.FitNesse -o -p 9999 -r repository
  • For StoryTestIQ version 2.0-RC4, I run run_stiq_server.sh, and and I think the storytestiq.properties isn't being picked up, as well as the libraries. The following works for me.
java -DSTIQDatabaseDriver=oracle.jdbc.driver.OracleDriver -DSTIQDatabaseConnectionString=jdbc:oracle:thin:@something:1521:something -DSTIQDatabaseUsername=user -DSTIQDatabasePassword=password -cp "bin/storytestiq.jar:bin/lib/*.jar:bin/lib/fitlibrary-1.1.jar:bin/lib/jdbc-csv-mock.jar:bin/lib/junit-3.8.1.jar:bin/lib/ojdbc-14.jar:bin/lib/selenium-server.jar:bin/lib/sqlserver-1.0.809.jar:bin/lib/Tidy.jar" fitnesse.FitNesse -o -p 9999 -r repository
  • Remember to "chmod +x run_stiq_server.sh" it
  • Launch from a console window
  • ./run_stiq_server.sh
  • In your browser open..

Mac

STIQ on Mac OS X

Other

Look in the SourceForge StoryTestIQ Forums: Help for examples.
Personal tools
Noteworthy