-
Notifications
You must be signed in to change notification settings - Fork 465
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
Definitive decision for Test262 console runner #647
Comments
Just as v8, we're currently using parts of the runner imported into our own repository. We were planning on using the upstream runner unmodified (with a small driver script), but when I learned about the deprecation I put that project on ice. While it'd obviously be nice for us to be able to use the runner, if we'd be the only ones to do so, I agree that removing it makes sense. That being said, the fact that nobody uses the runner still confuses me. Why does it make sense to have a test suite that's used by multiple parties without having an official test runner that's usable in automation be part of said suite? I get that actually driving the shell running the tests is something that's specific to each implementation, but the test configuration parsing and result interpretation seem completely transferable, and are by far the bigger part of the runner. |
I think the reason is that we have different constraints in our test environment. Python is easy for some, while Node is a non-starter (this used to be the case for v8 teams, I think?) while for others the opposite is true. |
The decision at TC39, driven by @bterlson , was that the test runner is out of scope and deleted from the test262 repository. Projects like V8 and Spidermoney can collaborate on the test runner elsewhere if they wish. |
Any news on a official alternative test runner yet? |
@avdg Actually, yes. We've created test262-utils/test262-harness-py to facilitate ongoing development of the Python-based test harness. I am currently coordinating with the V8 and SpiderMonkey teams to migrate; I expect to remove the runner from this project very soon. You may also be interested in the Node.js-based harness: https://github.com/bterlson/test262-harness |
Thanks |
this seems fixed. |
This project includes a console runner to facilitate running tests from console
hosts. I understand that some folks at Mozilla rely on it in some capacity
(@tschneidereit may be able to give more detail), and the V8 team uses some of
its internals in their own Python-based runner.
TC-39 agreed to deprecate the runner in 2014. This decision wasn't
well-communicated, so there was some contention a few months later when
@domenic filed gh-128 to remove the runner. The discussion died off without a
change to TC-39's decision or to the runner itself.
While implementing new features for the test runner (first for the proposed
async
flag, and later for executing module code), I came across a few of bugsin the implementation (see gh-512). I submitted a bug fix (gh-514), but as an
alternative, I also suggested formal deprecation (gh-513) in light of the
long-standing TC-39 decision and because I was afraid I was devoting energy to
a rarely-used/updated tool.
As it stands, the runner is still defined on the project's
master
branch, butits "deprecated" status is formally documented. As @littledan pointed out,
though:
I am opening this issue to solicit feedback on this from any stakeholders. Some
ideas for moving forward:
maintenance responsibilities)
organzation (allowing for shared maintenance of a single tool by some
combination of Test262 maintainers and interested consumers)
@leobalter has plans to raise this subject at next week's TC-39 meeting, as
well.
The text was updated successfully, but these errors were encountered: