Adding tests that cover the ecma262 specs#80
Adding tests that cover the ecma262 specs#80Cmdv wants to merge 3 commits intopurescript:masterfrom Cmdv:ecma262-tests
Conversation
|
I've converted the specs to something readable but need some pointers as to what in the current tests might relate to the specs, also what new tests I might need. As I'm not quite able to make the correlation between specs and current tests. 😄 |
|
would I be better off just setting up a whole new set of tests to make sure the library matches the specs? |
|
Yeah, I'd just make new tests for the spec stuff, and have them live together/structured similarly to the spec so they can be easily compared with the spec. I don't think it does any harm to potentially have two tests for the same thing, if it so happens that some of the existing tests were covering the same aspects. |
Extending the tests to follow the JS Ecma262 specs for Date object.