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

Write tests #1

Open
Globegitter opened this issue Apr 5, 2013 · 1 comment
Open

Write tests #1

Globegitter opened this issue Apr 5, 2013 · 1 comment

Comments

@Globegitter
Copy link
Member

Using grunt, qunit (or mocha) and phantomJS write some automated tests for the interface.

A good example:
https://github.com/trek/ember-todos-with-build-tools-tests-and-other-modern-conveniences

@Globegitter
Copy link
Member Author

Damn, forgot to reference the issue. Anyway, first test is written and works on the command-line, but unfortunately not in an actual browser. Have an idea, but haven't figured out completely why.
In any case, for how to write tests look at:
https://github.com/emberjs/ember.js/blob/master/packages/ember/tests/routing/basic_test.js
or
https://github.com/emberjs/ember.js/tree/master/packages

Possibly interesting as well:
http://www.thesoftwaresimpleton.com/blog/2012/04/03/testing-ember-and-the-runloop/

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

No branches or pull requests

1 participant