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

New Feature: Can you implement mock based on this framework #31

Open
hysci opened this issue Jan 24, 2016 · 2 comments
Open

New Feature: Can you implement mock based on this framework #31

hysci opened this issue Jan 24, 2016 · 2 comments

Comments

@hysci
Copy link

hysci commented Jan 24, 2016

I thinks the advantage of LEST is that there is no need to compile a lib/dll before using it (compared to gtest, boost.test etc). But the google mock gives an elegant way to implement stubs for testers. Can you add mock feature into the next version?
Another project that implements UT and mock is http://cpputest.github.com. But this project also need to pre-buid a lib/dll before using it. This would make trouble when a project has to support various compilers/os. (e.g., I have found that a gtest lib compiled from VS2010 was not supported by VS2013)

@hysci hysci changed the title Suggestion: Can you implement mock feature based on this framework New Feature: Can you implement mock feature based on this framework Jan 24, 2016
@hysci hysci changed the title New Feature: Can you implement mock feature based on this framework New Feature: Can you implement moc based on this framework Jan 24, 2016
@hysci hysci changed the title New Feature: Can you implement moc based on this framework New Feature: Can you implement mock based on this framework Jan 24, 2016
@martinmoene
Copy link
Owner

Up to now, I've not been doing mockist testing and I don't think it's likeky I'll add support for mocks to lest itself. However, perhaps someone likes to contribute it as an extension.

@martinmoene
Copy link
Owner

Thanks for the pointer to cpputest b.t.w.. It's always good to look at others' approaches.

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