Registry / testing / plugin-test-helper

plugin-test-helper

JSON →
library0.3.1rbrubygemsunverified

Simplifies plugin testing by creating an isolated Rails environment that simulates its usage in a real application.

gem install plugin_test_helper
INSTALL
IMPORT
SIG · PLUGIN-TEST-HELPER
P
plugin-test-helper
testingrubyv0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PluginTestHelper
✓ require 'plugin_test_helper'

Set up isolated Rails environment for plugin testing

require 'plugin_test_helper' class MyPluginTest < ActiveSupport::TestCase include PluginTestHelper test 'works in Rails' do assert_nothing_raised { MyPlugin::Engine.routes } end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
plugin-test-helper — gem install plugin-test-helper · libregistry