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

Weird log message when test fails #336

Closed
mpaulucci opened this issue Feb 7, 2013 · 8 comments
Closed

Weird log message when test fails #336

mpaulucci opened this issue Feb 7, 2013 · 8 comments

Comments

@mpaulucci
Copy link

Hi, I'm trying to make Testacular(0.4.0) work with my existing AngularJS application.

When I run a sample test that passes, when I run yeoman test I get the correct output:

Running "test" task
info: Testacular server started at http://localhost:8080/
info (launcher): Starting browser PhantomJS
info (PhantomJS 1.7): Connected on socket id -1WsgJQW786BjanD5-kq
PhantomJS 1.7: Executed 1 of 1 SUCCESS (0.295 secs / 0.039 secs)
info: Disconnecting all browsers
Done, without errors.

But when I change the test to fail, I get this huge warning message after the error output:

Command failed: JOIN 5 / /usr/lib/node_modules/testacular/adapter/lib/jasmine.js
JOIN 6 / /usr/lib/node_modules/testacular/adapter/lib/jasmine.js
JOIN 5 / /usr/lib/node_modules/testacular/adapter/jasmine.js
JOIN 6 / /usr/lib/node_modules/testacular/adapter/jasmine.js
JOIN 5 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/jquery-1.9.0.js
JOIN 6 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/jquery-1.9.0.js
JOIN 5 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/jquery-ui-1.10.0.js
JOIN 6 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/jquery-ui-1.10.0.js
JOIN 5 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/bootstrap.js
JOIN 6 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/bootstrap.js
JOIN 5 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/angular.js
JOIN 6 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/angular.js
JOIN 5 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/angular-resource.js
JOIN 6 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/angular-resource.js
JOIN 5 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/angular-ui.js
JOIN 6 / /home/martin/workspace/qa-tool/client/app/scripts/vendor/angular-ui.js
... etc.
Use --force to continue.

Is this a bug? How can I get rid of it?

@kimjoar
Copy link
Contributor

kimjoar commented Feb 7, 2013

This appears to have been introduced in isaacs/node-glob@9b4155a

@vojtajina
Copy link
Contributor

Yep, sounds like problem in glob. This is fixed in canary, as we set fixed deps and will update to latest glob once the issue gets fixed.

Can you try install older glob ?

cd <path-to-testacular>
npm install glob@3.1.14

@vojtajina
Copy link
Contributor

Please re-open the issue, if this does not fix it.

@vojtajina
Copy link
Contributor

Ok it looks like fixed glob has been released, so can you try it with the latest instead ?

npm install glob@3.1.19

@kimjoar
Copy link
Contributor

kimjoar commented Feb 9, 2013

It was fixed in 3.1.20, not 3.1.19 :)

npm install glob@3.1.20

@vojtajina
Copy link
Contributor

Thanks @kjbekkelund

@mpaulucci
Copy link
Author

With glob 3.1.20 it works like a charm =)

@vojtajina
Copy link
Contributor

Glad to hear that. I updated the deps to use glob 3.1.20 https://github.com/testacular/testacular/commit/e34d8834d69ec4e022fcd6e1be4055add96d693c

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

3 participants