Sample Automation Framework for Synapse Samples - Usage

Open terminal and go to synapse home. Change directory to integration module

Running all the samples and generating logs

From the integration module, execute

mvn test

Log file named synapse-<timestamp>.log which contains the console output will be created inside $SYNAPSE_HOME/sampleAutomationLogs

Running all samples, generating logs and creating html report

mvn site

The report will be created as $SYNAPSE_HOME/modules/integration/target/site/sample_automation.html

Running a single sample

mvn test -Dtests=<sample_id>

e.g. mvn test -Dtests=7

Sample id is the sample number given in the documentation

Running any number of preferred samples

mvn test -Dtests=<sample_ids_seperated_by_commas>

e.g. mvn test -Dtests=0,1,5,54,154,360,430

Running a predefined sample suite

mvn test -Dsuite=<suite_name>

e.g. mvn test -Dsuite=message (case insensitive)

Defined test suites:

To add a new sample to the framwork, see FrontPage/Synapse/Samples/AutomationFramework/AddingNewSample

FrontPage/Synapse/Samples/AutomationFramework/Usage (last edited 2011-08-30 19:40:49 by 61)