Plugin Test Kit plugin

Plugin details

Once you have installed the libraries into your own plugin's test directory using the generator, you will be presented with additional customisations which you can make. The templates contain further instructions on how to customise each one. You may now treat your test environment pretty much as you would a normal Rails application test.

Websitehttp://www.mathewabonyi.com/ Repositoryhttp://mabs29.googlecode.com/svn/trunk/plugins/plugin_test_kit Author mabs29 Tags Test LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://mabs29.googlecode.com/svn/trunk/plugins/plugin_test_kit

You have two options for generating the files from the plugin_test_kit library. The first is using the in-built Rails ./script/generate.

  user:~/ $ cd rails-app
  user:rails-app $ ./rails-app/script/generate plugin wild_chicken
        create  config
        create  fixtures
        create  lib
        create  lib/ptk
        ...
        readme  after_generation


You also have the option of using the generate script provided in plugin_test_kit. It has been removed of its dependency on a Rails application, allowing you to call it from a repository of plugins divorced from the root of a Rails application.

  user:~/ $ cd repos/plugins/plugin_test_kit
  user:plugin_test_kit $ ./generate plugin_test_kit plugin_test_kit

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, 9 months ago