Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the plugin tester file optional #487

Closed
balupton opened this issue Apr 16, 2013 · 2 comments
Closed

Make the plugin tester file optional #487

balupton opened this issue Apr 16, 2013 · 2 comments

Comments

@balupton
Copy link
Member

We should also scan the test/package.json file for plugins and auto add them to:

# Export Plugin Tester
module.exports = (testers) ->
    # Define My Tester
    class MyTester extends testers.RendererTester
        # Configuration
        docpadConfig:
            enabledPlugins:
                'text': true
                'eco': true
                'marked': true

If needed.

balupton added a commit that referenced this issue May 29, 2013
- v6.37.0 May 29, 2013
	- Plugin tester file is now optional when specifying something like
`testerClass: 'RendererTester'` inside your plugin test file
		- Closes [issue #487](#487)
	- `enableUnlistedPlugins` is now set to `true` when running plugin
tests (it was `false` before)
		- This allows us to remove the need for the plugin tester file for
most situations
balupton added a commit that referenced this issue Oct 23, 2013
- v6.37.0 May 29, 2013
	- Plugin tester file is now optional when specifying something like
`testerClass: 'RendererTester'` inside your plugin test file
		- Closes [issue #487](#487)
	- `enableUnlistedPlugins` is now set to `true` when running plugin
tests (it was `false` before)
		- This allows us to remove the need for the plugin tester file for
most situations
@evantill
Copy link

can you add this in the write plugin documentation page please ?

Plugin tester file is now optional when specifying something like
testerClass: 'RendererTester' inside your plugin test file

@pflannery
Copy link
Contributor

hi @evantill the website documentation repo is here if you want to amend any docs on docpad.

I believe the page you want to amend is this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants