This project is archived and is in readonly mode.
please don't hide test framework generators
-
Santiago Pastorino
- State changed from new to open
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
Santiago Pastorino
- State changed from open to stale
-
sarah (at ultrasaurus)
this is still a problem in Rails 3.0.3:
$ rails -v Rails 3.0.3
$ rails generate Usage: rails generate GENERATOR [args] [options]
General options:
-h, [--help] # Print generator's options and usage -p, [--pretend] # Run but do not make any changes -f, [--force] # Overwrite files that already exist -s, [--skip] # Skip files that already exist -q, [--quiet] # Suppress status outputPlease choose a generator below.
Rails:
controller generator helper integration_test mailer migration model observer performance_test plugin resource scaffold scaffold_controller session_migration stylesheetsRspec:
rspec:installTestUnit:
test_unit:controller test_unit:helper test_unit:integration test_unit:mailer test_unit:model test_unit:observer test_unit:performance test_unit:plugin test_unit:scaffold$ rails generate rspec:integration messages
create spec/requests/messages_spec.rbI can use the rspec generators, but I can't see them in the help.
-
sarah (at ultrasaurus)
- State changed from stale to open
[state:open] The current behavior is very confusing for people new to Rails who are using rspec. It seems like there was a real effort in Rails 3 to treat all test frameworks as first class citizens, but this is a step backwards. It seems like someone did this on purpose, but I don't understand why.
-
rails
This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.
-
rails
- State changed from open to stale