Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple.Data 2.0 - InMemoryAdapter missing? #374

Open
mikepc opened this issue Aug 23, 2015 · 2 comments
Open

Simple.Data 2.0 - InMemoryAdapter missing? #374

mikepc opened this issue Aug 23, 2015 · 2 comments

Comments

@mikepc
Copy link

mikepc commented Aug 23, 2015

Since 2.0 isn't officially released yet there's no documentation about how to unit test it. Could you give me a sample of how to make a basic unit test with the 2.0 branch?

InMemoryAdapter isn't even resolving, have no idea where to go from here.

Examining the unit tests in the 2.0 branch isn't helpful because I do see some InMemoryAdapter usage, but I don't know where the class is coming from. The InMemoryTests in the branch are deprecated I guess, but I don't know how to test stuff now.

Any help pretty please?

@mikepc
Copy link
Author

mikepc commented Aug 23, 2015

I recognize it's my own limitation that I'm having a hard time in wrapping my brain around the unit tests in the main project but I just can't figure out how the consumer is expected to use the mocking framework etc.

I posted a question on stack overflow looking for some in the community but they pulled my question on the basis that it was somehow off topic :-(.

I really love Simple.Data 2, the async/await is absolutely essential for my project, and this is the best solution I have found for getting to my data without a beefy DAL, or running straight SqlCommands which have their own difficulties I've found in unit testing.

I'm cc'ing the simple.data google group on the hopes that something might come of it.

@jroliveira
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants