Skip to content

Instantly share code, notes, and snippets.

@gaffo
Created July 15, 2012 21:46
Show Gist options
  • Save gaffo/3118768 to your computer and use it in GitHub Desktop.
Save gaffo/3118768 to your computer and use it in GitHub Desktop.
cucumber rails 3.2
➜ moveatron git:(cucumber) rake
Loaded suite /home/mike/workspace-web/moveatron/vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
..........................
Finished in 0.481750882 seconds.
26 tests, 39 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed
53.97 tests/s, 80.95 assertions/s
Loaded suite /home/mike/workspace-web/moveatron/vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
...................
Finished in 1.508087279 seconds.
19 tests, 34 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed
12.60 tests/s, 22.55 assertions/s
/usr/local/bin/ruby -S bundle exec cucumber --profile default
Using the default profile...
0 scenarios
0 steps
0m0.000s
invalid option: --profile
Test::Unit automatic runner.
Usage: /home/mike/workspace-web/moveatron/vendor/ruby/1.9.1/bin/cucumber [options] [-- untouched arguments]
-r, --runner=RUNNER Use the given RUNNER.
(c[onsole], e[macs], x[ml])
--collector=COLLECTOR Use the given COLLECTOR.
(de[scendant], di[r], l[oad], o[bject]_space)
-n, --name=NAME Runs tests matching NAME.
(patterns may be used).
--ignore-name=NAME Ignores tests matching NAME.
(patterns may be used).
-t, --testcase=TESTCASE Runs tests in TestCases matching TESTCASE.
(patterns may be used).
--ignore-testcase=TESTCASE Ignores tests in TestCases matching TESTCASE.
(patterns may be used).
--[no-]priority-mode Runs some tests based on their priority.
--default-priority=PRIORITY Uses PRIORITY as default priority
(h[igh], i[mportant], l[ow], m[ust], ne[ver], no[rmal])
-I, --load-path=DIR[:DIR...] Appends directory list to $LOAD_PATH.
--color-scheme=SCHEME Use SCHEME as color scheme.
(d[efault])
--config=FILE Use YAML fomat FILE content as configuration file.
--order=ORDER Run tests in a test case in ORDER order.
(a[lphabetic], d[efined], r[andom])
--max-diff-target-string-size=SIZE
Shows diff if both expected result string size and actual result string size are less than or equal SIZE in bytes.
(1000)
-v, --verbose=[LEVEL] Set the output level (default is verbose).
(important-only, n[ormal], p[rogress], s[ilent], v[erbose])
--[no-]use-color=[auto] Uses color output
(default is auto)
--progress-row-max=MAX Uses MAX as max terminal width for progress mark
(default is auto)
--no-show-detail-immediately Shows not passed test details immediately.
(default is yes)
--output-file-descriptor=FD Outputs to file descriptor FD
-- Stop processing options so that the
remaining options will be passed to the
test.
-h, --help Display this help.
Deprecated options:
--console Console runner (use --runner).
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -S bundle exec cucumbe...]
Tasks: TOP => default => cucumber => cucumber:ok
(See full trace by running task with --trace)
➜ moveatron git:(cucumber)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment