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

Testing widgets #154

Closed
steffenmllr opened this issue Nov 13, 2012 · 3 comments
Closed

Testing widgets #154

steffenmllr opened this issue Nov 13, 2012 · 3 comments

Comments

@steffenmllr
Copy link
Contributor

I was trying to setup aura with mocha and was asking myself if there is a working example on how to get tests working for the individual widgets?

Has somebody a working example on testing widgets with mocha or jasmin?

@addyosmani
Copy link
Member

We're working on tests at a framework level but haven't yet placed much focus on tests for widgets. Good catch. We'll try to include examples of this moving forward.

It would involve the same effort as RequireJS unit tests with the addition of sandbox and mediator instances for communication and accessing utilities.

@addyosmani
Copy link
Member

In case you're after a RequireJS plus Mocha starting point https://github.com/karlbright/requirejs-mocha-chai-bootstrap

@steffenmllr
Copy link
Contributor Author

Thanks for your answer. A good starting point also is http://gorillatron.github.com/cerebral/

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