# Best Practice for testing database?

**URL:** <https://forum.elixirforum.com/t/best-practice-for-testing-database/21995>\
**Category:** Questions\
**Tags:** exunit, database, unit-testing, influxdb, mock\
**Created:** [April 29, 2019, 2:33am UTC](https://forum.elixirforum.com/t/best-practice-for-testing-database/21995 "2019-04-29T02:33:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![roynalnaruto](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/roynalnaruto/32/16927_2.png) [@roynalnaruto](https://forum.elixirforum.com/u/roynalnaruto)\
**Post date:** [April 29, 2019, 3:35am UTC](https://forum.elixirforum.com/t/best-practice-for-testing-database/21995/3 "2019-04-29T03:35:03Z")

</div>

Yes, I do see some other projects also take this approach. I will do that as well. Thanks!

---

_[View the full topic](https://forum.elixirforum.com/t/best-practice-for-testing-database/21995)._
