-
Notifications
You must be signed in to change notification settings - Fork 27.5k
fix(build): Add Promises/A+ Test Suite to the build #3693
Conversation
Thanks! I know that you previously said that you signed our CLA, but I don't see you in our DB. Did you use the same name/email as on github? did you sign as individual or corporation? if you signed as individual would you might signing again please with the same email address as the one associated with your commits? thanks! For individuals (a simple click-through form): http://code.google.com/legal/individual-cla-v1.0.html |
Done. |
this PR still fails even after rebasing on top of the current master which contains 7d188d6 and exposing any idea why? |
you can see my current patch above |
looking now |
Hmmm. Multiple runs are giving non-deterministic behavior: I usually only get a single failure (the first), but occasionally the second one pops up.
I've got to figure out how to get more meaningful stack traces out of the test suite, but the non-determinism is troubling. |
Igor, |
Also, shell:{
"test-promise-a-plus":{
options:{
stdout:true,
stderr:true,
failOnError:true
},
command:'./node_modules/.bin/promises-aplus-tests build/promise-adapter.js --reporter dot'
}
}, (changes are: Set stdout to true, and add |
sorry.. I forgot that I removed Brian's/your's commit before pushing to my branch. Even with the commit in place the tests still fail due to one test:
I don't know what the |
41276e5 is my current state with the one failing test |
This should fix it. https://github.com/jamestalmage/angular.js/compare/patch-1 I suspect the |
I just came to the same conclusion. Is it just me or is sinon/a+ test suite unusually hard to debug? similar issue in our test suite would be much easier to debug and fix. |
I don't think the problem is with sinon (I use it regularly, and don't run into this). I'd suspect it's the a+ suite, I found it hard to follow when I was doing my initial patch. Before the switch to running these tests in Node, I was getting far better stack traces. It may be that these tests are doing async processing with nextTick that's making things difficult. That angular allows you to compress your async operations into a synchronous one via a call to $digest, that goes a long ways towards making debugging easier. Kudos to whoever came up with the evalAsync stack. It's pretty brilliant. |
Oh - I should also mention. |
No description provided.