This page,
<a href="http://iamstef.net/ember-cli/#testing" rel="nofollow">ember-cli testing</a>,
says "The included tests demonstrate how to write both unit tests and acceptance/integration tests using the new
<a href="http://ianpetzer.wordpress.com/2013...ember-js-using-ember-testing-and-qunit-rails/" rel="nofollow">ember-testing package</a>."
However in order to get an integration test working, I need to find
and
or any of the <a href="http://emberjs.com/guides/testing/test-helpers/" rel="nofollow">ember test helpers</a>.
Where are they found, where can I import them from?
<hr>
Details:
The closest I have found to
is
, which can be imported from
. Module for is not suitable for integration testing as I am testing an entire page or series of pages within the app, rather than an individual model, route, controller, view, etc.
My best guess is that
can be found within Ember itself, but I am not sure where to import it from.
Using neither
nor
, I am able to run the tests, but they error out:
<blockquote>
ReferenceError: visit is not defined
</blockquote>
<a href="http://iamstef.net/ember-cli/#testing" rel="nofollow">ember-cli testing</a>,
says "The included tests demonstrate how to write both unit tests and acceptance/integration tests using the new
<a href="http://ianpetzer.wordpress.com/2013...ember-js-using-ember-testing-and-qunit-rails/" rel="nofollow">ember-testing package</a>."
However in order to get an integration test working, I need to find
Code:
module
Code:
visit
Where are they found, where can I import them from?
<hr>
Details:
The closest I have found to
Code:
module
Code:
moduleFor
Code:
ember-qunit
My best guess is that
Code:
visit
Using neither
Code:
module
Code:
moduleFor
<blockquote>
ReferenceError: visit is not defined
</blockquote>