Sha256: ed492e127db27274fd9dfc9349ef5b4f0ed0ae37a478330751d6b26b81e3354a

Contents?: true

Size: 745 Bytes

Versions: 19

Compression:

Stored size: 745 Bytes

Contents

If you are using Rails and want some basic generic tests, you can run the
following code inside test_helper.rb:

  require 'scaffolding_extensions/rails_test_help'

This gives you the following test class methods:

  test_scaffold_all_models
  test_scaffold

And the following test instance methods:

  scaffold_test
  scaffold_habtm_test

There is an automated test suite that tests the plugin against all supported web
frameworks and ORMs. It is now available in the same github repository as the
plugin itself.

It requires the ruby-sytle, hpricot, and mongrel gems (in addition to gems for
all of the frameworks and ORMs), and does black box testing of the plugin by
running a web crawler against a running application that uses the plugin.

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
scaffolding_extensions-1.4.2 doc/testing.txt
scaffolding_extensions-1.4.1 doc/testing.txt
scaffolding_extensions-1.4.0 doc/testing.txt
scaffolding_extensions-1.3.12 doc/testing.txt
scaffolding_extensions-1.3.11 doc/testing.txt
scaffolding_extensions-1.3.10 doc/testing.txt
scaffolding_extensions-1.3.9 doc/testing.txt
scaffolding_extensions-1.3.3 doc/testing.txt
scaffolding_extensions-1.3.7 doc/testing.txt
scaffolding_extensions-1.3.4 doc/testing.txt
scaffolding_extensions-1.3.1 doc/testing.txt
scaffolding_extensions-1.3.0 doc/testing.txt
scaffolding_extensions-1.2.0 doc/testing.txt
scaffolding_extensions-1.1.9 doc/testing.txt
scaffolding_extensions-1.3.5 doc/testing.txt
scaffolding_extensions-1.3.6 doc/testing.txt
scaffolding_extensions-1.1.8 doc/testing.txt
scaffolding_extensions-1.3.2 doc/testing.txt
scaffolding_extensions-1.3.8 doc/testing.txt