Mocking OpenAccess

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 30 Nov 2010 Link to this post

    To be honest I haven't really tried JustMock as of yet, but we've recently ran into some issues with OpenAccess where some updates have broken some functionality...

    So as I understand it, the Mocking tool can "Fake" a database?

    Is it possible to write some tests to create an OA object, then commit that object, but the database end is handled by JustMock?

    Is that how this all works together? :)
  2. Ricky
    Admin
    Ricky avatar
    467 posts

    Posted 01 Dec 2010 Link to this post

    Hi Steve,

    Thank you for bringing up the question. Yes, mocking tool can be used to fake the data access layer so that you can test your target logic without ever worrying about its dependencies.

    Regarding mocking with OpenAccess, I am attaching one example that you might find useful or can use as a reference.

    Finally, please free to write back if you have further questions.


    Kind Regards,
    Ricky
    the Telerik team
    Browse the videos here>> to help you get started with JustMock
  3. DevCraft R3 2016 release webinar banner
Back to Top