Setting Up A New Project
From STIQ
Contents |
Binaries
Copy Into Source Tree
- Get the latest distribution files
- Binary package
- Download from [Source Forge] and unzip
- Windows installer
- Download from [Source Forge] and execute
- Binary package
- Create a directory for STIQ tests in your source tree
- Examples: "StoryTests", "acceptance", "StoryTestIQ"
- Copy the distribution files into the new directory
- Binary package
- Copy the contents of the unzipped package
- Windows installer
- Copy the contents of the installation directory; by default "C:\Program Files\SolutionsIQ\StoryTestIQ"
- Binary package
- Your source tree will look something like this:
MyProject
src
lib
[etc...]
StoryTests
bin
repository
build.xml
run_stiq_project.bat
[etc...]
Clean Up
You can remove the following files if desired:
- All *.bat files except "run_stiq_project.bat" and "start_stiq_server.bat"
- \MyProject\StoryTests\repository\FrameworkTests
- "uninstall.exe" (if present)
Execution
- Windows:
- Start STIQ using the "run_stiq_project.bat" script.
Test Data
STIQ will use the "ProjectRoot" section of the repository to store your test pages. For each new page, STIQ will create a directory with the page name (i.e., "CreateNewBlog") and within the directory:
- content.txt -- the content of the page, as seen when you edit the page
- properties.xml -- various properties of the page including a timestamp, flags for toolbar buttons, etc.
STIQ Binaries in the Source Tree?
"You must put everything required for a build in the source control system, however you may also put other stuff that people generally work with in there too." (Fowler, [Continuous Integration]).
See the page about STIQ Continuous_Integration for more details.
