Feature #65
Plugin Helper Specs
| Status: | New | Start: | 01/06/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Plugin | |||
| Target version: | 0.1.0 |
Description
The Plugin stuff needs shared specs so all the related Modules and Classes can be verified.
History
Updated by Heinz Gies over 1 year ago
- Target version set to 0.1.0
Updated by Kornelius Kalnbach over 1 year ago
Sorry, I don't understand that ^^ Shared specs? it is a library, so it should be tested separately.
Updated by Heinz Gies over 1 year ago
Shared examples can be loaded in Specs for other classes and modules, by adding 'should_behave_like ...'. It is used to define behaviour that is shared amongst multiple classes in this case the Function(s), Language(s), Calss(es) class.
It is pretty much straight forward an example can be found here:
http://code.licenser.net/repositories/entry/rvm/trunk/spec/amber/helpers/class_helper.rb
Updated by Kornelius Kalnbach over 1 year ago
nice feature. but I still don't think Amber should include tests for plugin...plugin should really be a gem.
are there any problems with Plugin currently?
Updated by Heinz Gies over 1 year ago
I agree moving the plug in stuff in it's own gem might be best, and no at least I don't know of a problem but it would be nice to be sure that modifications made on any of the Plugins won't have unforeseen consequences.
It's not a high priority, but a nice to have.
Updated by Kornelius Kalnbach over 1 year ago
- Category changed from Functionality to Plugin
I think I can get it done until your birthday ;)