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

Chimp 2.0 #667

Closed
casey1111 opened this issue Dec 5, 2017 · 2 comments
Closed

Chimp 2.0 #667

casey1111 opened this issue Dec 5, 2017 · 2 comments

Comments

@casey1111
Copy link

We're using Chimp, Cucumber, Chai for acceptance testing on Meteor 1.6 / Node 8+
We've been having trouble with this environment.. odd failures when waiting*, possible timing issues.

Wanted to try Chimp@Next, but we're used to calling chimp as an executable (node_modules/.bin/) which doesn't exist with 2.0.

I'm not sure how to kick-off these tests now.

Any documentation available on how to get up and running with 2.0 / headless Chrome?

README reads, "No command line runner, no complex tools to setup, you simply import the Chimp browser into your test and it just works"

But, the "just works" part has me baffled.

@samhatoum
Copy link
Member

Hi @casey1111

Thank you for the feedback.

I guess we have assumed that users already know how to run their tests using standalone mocha/jasmine/jest. The idea is that you use these frameworks as they were intended to be used without using Chimp to launch them.

The current version of Chimp is a test runner. The @next version is a library that is used inside testing frameworks.

Have a look at this guide for mocha:
http://alebelcor.github.io/2013/an-introduction-to-mocha/

Where you can see how to use test frameworks without a test runner.

I'll be sure to update the docs.

@samhatoum
Copy link
Member

This issue is being tracked in Chimpy
https://github.com/TheBrainFamily/chimpy/issues

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

2 participants