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 # Help bigbench --help || show help # Displays this help
Options:
REDIS_URL_WITH_PORT # Defaults to http://localhost:6379 REDIS_PASSWORD # Defaults to no password
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 30 def self.run!(argv) BigBench::Output.start check_arguments!(argv) send to_executor_method(argv), argv BigBench::Output.done end