-
Notifications
You must be signed in to change notification settings - Fork 2
Console Runner Quickstart
#Quickstart# This is a simplified guide to getting started with the Forseti console runner in windows. Consider this a living document, and please let us know if you encounter any issues
Head over to the download page and grab a copy of Forseti.Console.zip
Place unpacked files in a well-known place. We like to place it within our projects Tools folder. Here's a simplified structure one might use. But you could just as easily place this somewhere else and make it available in your PATH
|-src\
|-forseti.yaml
|-scripts\
|-system.js
|-another_system.js
|-tests\
|-for_system\
|-when_testing_something.js
|-for_another_system\
|-when_creating.js
|-when_initializing.js
|-tools\
|-Forseti\
|-Forseti.exe
|-...
Create your forseti.yaml
configuration at the root of your project. The configuration points at conventions for system and description files, so all paths are relative to its placement. More configuration options
Harnesses:
- Harness:
Framework : Jasmine
Name : Something
SystemsSearchPath : src/scripts/{system}.js
DescriptionsSearchPath : tests/for_{system}/{description}.js
Dependencies :
- src/scripts/jquery.js
Run forseti.exe
from folder containing your configuration file to start watching files for changes.
C:\projects\TestProject\> Tools\Forseti\Forseti.exe