Dispatches the command line commands to BigBench calls. Available commands are:
Usage:
# Local Testing bigbench run local PATH_TO_TEST # Runs a test from the local machine. No redis needed. # Remote Testing bigbench run bots PATH_TO_TEST [REDIS_URL_WITH_PORT REDIS_PASSWORD] # Deploys and starts the test on all bots bigbench start bot [REDIS_URL_WITH_PORT REDIS_PASSWORD] # Starts a bot on a remote machine # Reseting bigbench reset all # Resets everything # Post Processors bigbench run postprocessors PATH_TO_TEST # Runs all post processors of the test without running the test itself bigbench run postprocessor PATH_TO_TEST POSTPROCESSOR # Runs the specified post processor on the output file # Help bigbench --help || show help # Displays this help
Options:
REDIS_URL_WITH_PORT # Defaults to http://localhost:6379 REDIS_PASSWORD # Defaults to no password POSTPROCESSOR # A post processor module or its short name e.g. 'statistics'
Parses and runs the BigBench funtion that is
supplied via the commandline’s ARGV. It throws an
InvalidCommand
exception if the command is unknown.
# File lib/bigbench/executor.rb, line 32 def self.run!(argv) BigBench::Output.start check_arguments!(argv) send to_executor_method(argv), argv BigBench::Output.done end