-
Notifications
You must be signed in to change notification settings - Fork 50
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
Running multiple test function files #17
Comments
I was having this same problem until I upgraded to 5.8. Now when I attempt to run all tests I now get 'Cannot find module', and is is trying to run tests for functions that I haven't created yet. |
I created the missing tests and still had problems with running multiple tests. I noticed that the new tests I created had an extra wrapper.init(mod) statement. Once I added that to all of my existing tests I was able to run all tests and everything now passes! |
I have updated to 5.8 but i am still getting the same issue :| the tests run fine individually, i have five test files, create, delete, index, show, update when every single test has its own function but when i run all the tests at same time only 'update' test passes and i get this error for others
should nt the last line i.e. response be 'functions/create/handlers.js' for create and so on ? |
Have you moved wrapper.init to before()? |
Hi! Did you create the tests that are failing with the latest module version or with a version prior to that. -Mikael
|
yeah that was the fix thanks, the wrapper.init() was being called earlier thanks for all the help!!! |
When i try to run multiple test files at a time it uses the last function (alphabetical order) for all the functions instead of using their respective functions
The text was updated successfully, but these errors were encountered: