This is a migrated thread and some comments may be shown as answers.

Mocking OpenAccess

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 2
Veteran
Steve asked on 30 Nov 2010, 10:47 PM
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? :)

1 Answer, 1 is accepted

Sort by
0
Ricky
Telerik team
answered on 01 Dec 2010, 01:16 PM
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
Tags
General Discussions
Asked by
Steve
Top achievements
Rank 2
Veteran
Answers by
Ricky
Telerik team
Share this question
or