Skip to content

Conversation

@jembezmamy
Copy link
Contributor

I've got a project which has a lot of visual tests. I do need them, but not always - sometimes I'd like to skip them to test things faster. So here I've added a QUnit checkbox that allows you to skip all visual tests - they will pass without performing actual tests.

'/visual-test-output'
)).then(() => this.insertIntoFile(
'tests/test-helper.js',
`import setupVisualTests from 'ember-visual-test/test-support/setup';`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a simpler approach would be just to import a vendor file with QUnit customizations. You can see how it's done in the ember-qunit addon https://github.com/emberjs/ember-qunit/blob/6877684cb3b8c960ebbe06b2f58dfde0243f2b8f/index.js#L21.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's much simpler. Nice, thanks 😄

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

Successfully merging this pull request may close these issues.

2 participants