# Testing Ember Apps: how do you do it?

**URL:** <https://discuss.emberjs.com/t/testing-ember-apps-how-do-you-do-it/173>\
**Category:** Testing\
**Created:** [March 6, 2013, 3:53am UTC](https://discuss.emberjs.com/t/testing-ember-apps-how-do-you-do-it/173 "2013-03-06T03:53:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tchak](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/tchak/32/14203_2.png) [@tchak](https://discuss.emberjs.com/u/tchak)\
**Post date:** [March 6, 2013, 8:34am UTC](https://discuss.emberjs.com/t/testing-ember-apps-how-do-you-do-it/173/2 "2013-03-06T08:34:52Z")

</div>

I use extensively sinon.js to mock objects and so I am able to test in isolation. In response to your question, `target` and `store` on the controller are good examples of what I mock. I have a few helpers in order to make mocking less verbose. I also added support for computed property mocking to sinon.js

This is my current setup : [https://gist.github.com/tchak/4580715](https://gist.github.com/tchak/4580715)

---

_[View the full topic](https://discuss.emberjs.com/t/testing-ember-apps-how-do-you-do-it/173)._
