Skip to content
Eing Ong edited this page Aug 21, 2015 · 3 revisions

Command line interface options

$./restassured_cli
Usage: restassured_cli [-f] [-p projectVersion] [-j jdkVersion] <base package> <service name>
Options
  -f,--full           : full option, generates sample tests
  -j,--jdk            : JDK version (default: 1.7)
  -p,--projectVersion : project version (default: 1.0.0-SNAPSHOT)
  -h,--help           : display this screen
Examples
   restassured_cli com.intuit.samples smallbusiness
   restassured_cli -p 1.0.0 -j 1.8 -f com.intuit.samples smallbusiness

Service test projects with no test examples, with no option (default)

$./restassured_cli com.intuit.samples smallbusiness

Service test projects with test samples, with -f option

$./restassured_cli com.intuit.samples smallbusiness -f

Service test projects of project version 1.0.0, with -p option

$./restassured_cli com.intuit.samples smallbusiness -p 1.0.0