Open Closed

TestBase class configuration to use NHibernate for unit test #142


0
m.simoniuksztis created

Hi, There is a pretty good tutorial on the [http://www.codeproject.com/Articles/871786/Unit-testing-in-Csharp-using-xUnit-Entity-Framewor]) on how to use the Entity Framework for unit testing with ABP. How to configure the TestBase class to use NHibernate?


2 Answer(s)
  • 0
    hikalkan created
    Support Team

    Hi,

    Have you checked <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/tree/master/src/Tests/Abp.NHibernate.Tests">https://github.com/aspnetboilerplate/as ... nate.Tests</a>

    This project uses SQLite in-memory with NHibernate. This can be a good start point for you.

  • 0
    m.simoniuksztis created

    I was looking for something like that. Thank you for the quick reply