Class: Brut::CLI::Apps::Test::E2e
- Inherits:
-
Run
show all
- Defined in:
- lib/brut/cli/apps/test.rb
Instance Attribute Summary
#parent_command
Instance Method Summary
collapse
Methods inherited from Run
#args_description, #default_rack_env, #opts, #rspec_command, #run
#accepts, #args_description, #argv, #bootstrap?, #commands, #default_command, #default_command_class, #default_rack_env, #env, #execute, #name, #options, #opts, #puts, #run, #stderr, #stdin, #stdout, #system!
Instance Method Details
#description ⇒ Object
83
|
# File 'lib/brut/cli/apps/test.rb', line 83
def description = "Run end-to-end (browser) tests"
|
#env_vars ⇒ Object
84
85
86
87
88
|
# File 'lib/brut/cli/apps/test.rb', line 84
def env_vars = super + [
[ "E2E_RECORD_VIDEOS","If set to 'true', videos of each test run are saved in `./tmp/e2e-videos`" ],
[ "E2E_SLOW_MO","If set to, will attempt to slow operations down by this many milliseconds" ],
[ "E2E_TIMEOUT_MS","ms to wait for any browser activity before failing the test. And here you didn't think you'd get away without using sleep in browse-based tests?" ],
]
|
#rebuild_after_by_default? ⇒ Boolean
92
|
# File 'lib/brut/cli/apps/test.rb', line 92
def rebuild_after_by_default? = true
|
#rebuild_by_default? ⇒ Boolean
91
|
# File 'lib/brut/cli/apps/test.rb', line 91
def rebuild_by_default? = true
|
#rspec_cli_args ⇒ Object
90
|
# File 'lib/brut/cli/apps/test.rb', line 90
def rspec_cli_args = "--tag e2e"
|