Base solution for your next web application
Open Closed

Unit Test against real DB? #2951


User avatar
0
caleb created

Is there a way to run unit tests against the actual database instead of the fake database? I'm guessing some code just needs to be commented out, but not sure what.

Thanks

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Abp.Dapper.Tests has a similar usage. You can check it out here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/test/Abp.Dapper.Tests/DapperApplicationTestBase.cs">https://github.com/aspnetboilerplate/as ... estBase.cs</a>.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    caleb created

    Great, thanks!

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)