0
I Use This!
Activity Not Available

Project Summary

form-test-helper has gone on to a better placeform-test-helper was first released in September of 2006. At the time, it represented a significant step forward in testing apps with the full rails stack. I haven't updated it in quite some time, and I'm happy to see that some other tools came along and built on form-test-helper's ideas. Go check out webrat and read The Rspec Book to learn about the latest Rails tools in this vein. -- Jason Garber

---

This plugin uses assert_select to verify and manipulate your forms. It solves the problem we've all run into where you change the form but the test doesn't break because you're just passing parameters to an action.

Instead of this: post :create, :book => {:name => 'Pickaxe', :category => 1, :out_of_print => 0}

This plugin lets you do this:

get :new
submit_form do |form|
form.book.name = 'Pickaxe'
form.book.category = 'Programming'
form.book.out_of_print.uncheck
end
assert_response :successSee the README file for more examples.

InstallationTo install for Rails Edge (revisions 7420 and higher) use trunk:./script/plugin install -x http://form-test-helper.googlecode.com/svn/form_test_helper/

Requires Rails trunk revision 7420 and higher

To install for Rails Edge where the edge revision ranges from 6764 to 7420 use the 1.1.1 tag:./script/plugin install http://form-test-helper.googlecode.com/svn/tags/form_test_helper-1.1.1

Requires a Rails Edge revision inside of the range of 6764 and 7420)

To install for Rails 1.2.x use the 1.0.0 tag:./script/plugin install http://form-test-helper.googlecode.com/svn/tags/form_test_helper-1.0.1

Requires Rails 1.2.x and higher (up to Rails Edge revision 6763)

RdocRdoc documentation for each "branch" are being hosted at rubyforge.

For form_test_helper edge: http://continuous.rubyforge.org/form_test_helper/rdoc/

For form_test_helper 1.1.x: http://continuous.rubyforge.org/form_test_helper-1.1.x/rdoc/

For form_test_helper 1.0.x: http://continuous.rubyforge.org/form_test_helper-1.0.x/rdoc/

Tags

assert_select forms rails

In a Nutshell, form-test-helper...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

MIT License
Permitted

Commercial Use

Modify

Distribute

Private Use

Sub-License

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can embed statistics from Open Hub on your site
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    data presented on the Open Hub is available through our API

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis