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

Support screenshots #165

Merged
merged 6 commits into from Dec 4, 2014
Merged

Support screenshots #165

merged 6 commits into from Dec 4, 2014

Conversation

raimohanska
Copy link
Contributor

Related to #130, now you can take screenshots in your tests.

See the updated README.md for details.

@nathanboktae
Copy link
Owner

Can you add a test too? thanks. Take a look at some of the --file tests that look for existence of a file if you need help.

@raimohanska
Copy link
Contributor Author

Hi, I'll definitely simplify the impl and add a test as soon as I get a suitable timeslot for that. Thanks for timely response!

@raimohanska
Copy link
Contributor Author

There you go! I added a simple test for the existence of the expected screenshot file. After test, the file is deleted.

nathanboktae added a commit that referenced this pull request Dec 4, 2014
Support screenshot capturing
@nathanboktae nathanboktae merged commit 683d78c into nathanboktae:master Dec 4, 2014
@nathanboktae
Copy link
Owner

Thanks for the contribution!

@raimohanska
Copy link
Contributor Author

You're very welcome. Thanks for your good work on mocha-phantomjs!

@metaskills
Copy link
Collaborator

Love this feature, awesome work y'all!

@metaskills
Copy link
Collaborator

I just published and tagged v3.5.2.

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.

None yet

3 participants