# Building tests in some location to run later without Ember-CLI

**URL:** <https://discuss.emberjs.com/t/building-tests-in-some-location-to-run-later-without-ember-cli/8250>\
**Category:** Ember CLI\
**Created:** [June 22, 2015, 8:32pm UTC](https://discuss.emberjs.com/t/building-tests-in-some-location-to-run-later-without-ember-cli/8250 "2015-06-22T20:32:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaruna](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaruna](https://discuss.emberjs.com/u/aaruna)\
**Post date:** [June 22, 2015, 8:32pm UTC](https://discuss.emberjs.com/t/building-tests-in-some-location-to-run-later-without-ember-cli/8250/1 "2015-06-22T20:32:50Z")

</div>

“ember test” runs all the tests in PhantomJS or a browser as per the configuration I give in testem.json However, is is possible to build all the test related assets including the tests index.html so that I can deploy my tests independently somewhere on a WebServer so that anyone interested can just open the URL to check the unit tests? This will be really useful for the QA to take a look at the Unit tests, without the need to have access to the code and do a “ember test”

---

<div class="post-metadata">

**Author:** ![rwjblue](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/rwjblue/32/9411_2.png) [@rwjblue](https://discuss.emberjs.com/u/rwjblue)\
**Post date:** [June 22, 2015, 11:49pm UTC](https://discuss.emberjs.com/t/building-tests-in-some-location-to-run-later-without-ember-cli/8250/2 "2015-06-22T23:49:43Z")

</div>

```
ember build --environment=test

```

Should do the trick…

---

<div class="post-metadata">

**Author:** ![aaruna](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaruna](https://discuss.emberjs.com/u/aaruna)\
**Post date:** [June 23, 2015, 8:23pm UTC](https://discuss.emberjs.com/t/building-tests-in-some-location-to-run-later-without-ember-cli/8250/3 "2015-06-23T20:23:09Z")

</div>

Thanks for that

I wonder why I never tried that. Anyways there are other associated issues like if location is set to ‘none’, the tag gets added in the generated tests/index.html

I hope [Kill `\<base\>` tag · Issue #2633 · ember-cli/ember-cli · GitHub](https://github.com/ember-cli/ember-cli/issues/2633) fixes it.
