It would be good to start running these https://github.com/tc39/test262/tree/master/test/language
https://github.com/jasonwilliams/boa/projects/2
this keyword (#264)@vitkarpov if this is too much we could start of by doing what rapidus does for now and start with a few js files to test from https://github.com/maekawatoshiki/rapidus/tree/new-gen/test
Their test setup looks like this:
https://github.com/maekawatoshiki/rapidus/blob/3259515b4e3d48d53927bd3d065f6d1eb3b489e3/src/test.rs
Test Locations
https://github.com/tc39/test262/tree/master/test/language
A good start could be to have a test file, which pulls in some of the pre-defined bindings before loading a file. Assert would be a start
https://github.com/tc39/test262/blob/master/INTERPRETING.md#test262-defined-bindings
We could test assert.js working then a JS test suite. We could test this by importing multiple js files but using the same executor, it should work.
We may need to bring https://github.com/tc39/test262 in as a submodule
I would like to re-open this. I don't think we are so far away from it, I would say we have to implement the following:
this keyword (#264)After that, we can implement an automated process to give stats on what we support, and we can start tackling syntax step by step.
Now that we have goal symbol support (in the form of #486) is it worth giving this a go - do we have any progress already in terms of running test262 on boa (like a rust test runner)?
Now that we have goal symbol support (in the form of #486) is it worth giving this a go - do we have any progress already in terms of running test262 on boa (like a rust test runner)?
No progress yet in terms of setting up the harness of the tests
Now that we have goal symbol support (in the form of #486) is it worth giving this a go - do we have any progress already in terms of running test262 on boa (like a rust test runner)?
No progress yet in terms of setting up the harness of the tests
Ok cool, I can potentially start looking at this
Most helpful comment
Ok cool, I can potentially start looking at this