This project is archived and is in readonly mode.
Plugin Tests not Running
-
pablobm
- Tag changed from 2.2.2, 2.3-rc2, testcase to 2.2.2, 2.3-rc2, duplicate, testcase
Seems to be a duplicate of https://rails.lighthouseapp.com/...
-
James Adam
- Tag changed from 2.2.2, 2.3-rc2, duplicate, testcase to 2.2.2, 2.3-rc2, patch, plugin, test, testcase
(removing the duplicate tag because the link provided links to this same ticket, and I couldn't find an obvious duplicate via search)
I believe this is caused by the fact that activesupport/testcase never actually requires 'test/unit', which has the hooks to run your test.
This may be a conscious decision to prevent clashing with plugins that wish to use other testing frameworks, although if that's the case then they probably shouldn't be requiring activesupport/testcase either.
I've attached a simple patch to fix this, and hopefully make it clearer.
-
hiroshi
pablobm,
You seem to paste a wrong url, the identical to this issue:)
I suppose the right isssue is #1878 a generated plugin's tests are not run by 'rake test' -
CancelProfileIsBroken
- State changed from new to duplicate
