-
Notifications
You must be signed in to change notification settings - Fork 141
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
Mocks library #2
Comments
Rather than going to all the effort of mocking Accounts, MongoDB etc how about using an end-to-end framework, for these tests?
|
Do you have any examples of this being put to use in Meteor? On the surface this sounds ideal from the acceptance test side of things. How does it handle things like unit testing (or are you suggesting we use this independently of unit/integration tests)? |
I use Test Cafe for Gluless (which is a Meteor project). I can show it to you on a Hangout if you like. It's completely separate to my unit tests. I generally unit test whatever can be unit tested, but more involved stuff (e.g. something that requires a user account, or testing of the UI) is done with Test Cafe. |
- Upgraded Meteor version to the latest one - Upgraded all non-conflicted Meteor dependencies - Added .idea service folder to .gitignore *Issues*: - Because of incorectly configured seedr apps not starting properly, next commit will be with fix for imports/startup/server/fixtures.js
There's a lot of internal code for Meteor that will need mocking. There are quite a few third-party solutions to this already, but they're a bit piecemeal. It'd be best to sample from these existing implementations and combine them into something that we can manage and expand under Pup.
Need mocking for:
The text was updated successfully, but these errors were encountered: