(#48) - inline some of the test calls#56
Conversation
|
What if we use templates to generate the JS test file? |
|
If the likelihood of a spec 1.2 is high then that might be a good idea, if On Mon, Mar 17, 2014 at 10:58 AM, Juan Ignacio Dopazo <
-Calvin W. Metcalf |
|
Yeah, I don't think this is the way to go---hurts maintenance burden too much. I thought the strategy of a smoke-test TDD-able suite discussed in #48 would be more useful coming out of that discussion. |
|
ok switched it over to smoke testing, so far I added throwing after fulfilling with a promise, (the one that got my library) can anyone thing of some other ones to check? |
|
This looks great. I will try to merge it soon, although perhaps modified as part of the overall smoke-testing plan. The overall smoke-testing plan A new file, or perhaps set of files, containing very easy-to-debug representative smoke tests for each point in the spec. E.g., maybe a single test that Unlike the raw tests, timeout errors on failure are not acceptable in the smoke tests; they need to be easy to debug if possible. (For example, testing The test hierarchy should be flat, to ease porting to test-262 format later. There will be a way to easily run only the smoke tests, but this should output a giant warning that passing these does not guarantee compliance. I'll try to incorporate this, plus maybe a couple more, as our first example to get the ball rolling. Then maybe people can start contributing tests. |
|
I'm not a Node expert! Can we have the tests in simple javascript so we can test in browser? |
inlines all the calls to
testPromiseResolution, a start towards inlining more of the tests.