- May 12, 2018
-
-
Valerie R Young authored
-
- May 09, 2018
-
-
Steve Fink authored
typo in constructor Test252Error
-
- Jan 05, 2018
-
-
Mike Pennisi authored
-
Mike Pennisi authored
Early errors may result from parsing the source text of a test file, but they may also result from parsing some other source text as referenced through the ES2015 module syntax. The latter form of early error is not necessarily detectable by ECMAScript parsers, however. Because of this, the label "early" is not sufficiently precise for all Test262 consumers to correctly interpret all tests. Update the "phase" name of "early" to "parse" for all those negative tests that describe errors resulting from parsing of the file's source text directly. A forthcoming commit will update the remaining tests to use a "phase" name that is more specific to module resolution.
-
Adrian Heine authored
-
- Dec 21, 2017
-
-
Ivan Vyshnevskyi authored
-
- Dec 10, 2017
-
-
Mike Pennisi authored
-
- Dec 03, 2017
-
-
Mike Pennisi authored
-
- Oct 21, 2017
-
-
Valerie R Young authored
-
- Oct 17, 2017
-
-
Rick Waldron authored
-
Rick Waldron authored
-
Valerie R Young authored
-
- Oct 12, 2017
-
-
Valerie R Young authored
-
Valerie R Young authored
-
- Oct 04, 2017
-
-
Valerie R Young authored
-
- Jun 28, 2017
-
-
deathbearbrown authored
-
deathbearbrown authored
-
Mike Pennisi authored
Previously, test consumers were encouraged to insert a `throw` statement as the first statement of tests for early errors. This recommendation made tests harder to consume, and as an optional transformation, consumers may have ignored it or simply been unaware it was made. By explicitly including such a `throw` statement, the tests become more literal, making them easier to consume and more transparent in their expectations. Document expectation for all tests for early errors to include an explicit `throw` statement. Extend linting script to verify that contributors are automatically notified of violations and to ensure that future contributions satisfy this expectation.
-
- Jun 12, 2017
-
-
Rick Waldron authored
-
jugglinmike authored
A recent commit introduced a document that enumerated acceptable values for the test "features" metadata tag. However, this list was incomplete, and maintaining it placed extra burden on the project owners. Restructure the document into a machine-readable format. Add entries for all previously-omitted values. Add in-line documentation with recommendations for maintenance of the file. Extend the project's linting tool to validate tests according to the document's contents.
-
- May 01, 2017
-
-
Mathias Bynens authored
-
Leo Balter authored
-
jugglinmike authored
This script is intended to identify common test file formatting errors prior to their acceptance into the project. It is designed to support future extensions for additional validation rules.
-
- Apr 14, 2017
-
-
Mathias Bynens authored
-
- Apr 10, 2017
-
-
jugglinmike authored
Introduce configuration to allow build servers provided by the Travis CI service to execute the test generation tool and commit the resultant files to the canonical upstream repository. Enabling this workflow required additional administrative work: 1. Create an account with TravisCI 2. Install the `travis` command-line utility 3. Create a "deploy key" and an encrypted version using the command `./make.py github_deploy_key_enc` 4. Register the deploy key with the project's GitHub account 5. Check the encrypted deploy key to the repository 6. Configure the TravisCI service to automatically build this project
-
- Mar 06, 2017
-
-
jugglinmike authored
Resolves gh-885
-
- Oct 19, 2016
-
-
Mike Pennisi authored
Because expectations regarding error "phase" are now expressed via test meta-data, the test runner may now enforce this requirement on negative tests. Remove the "NotEarlyError" from the project source. This reduces the amount of domain knowledge required to author tests and lessens the potential for inconsistencies between tests.
-
Mike Pennisi authored
-
- Sep 27, 2016
-
-
Tim Disney authored
-
- Sep 02, 2016
-
-
Aleksey Shvayka authored
Unlike PHP, in JavaScript ! has higher precedence than instanceof, thus !smth instanceof TypeError will never (unless @@hasInstance is defined) be true.
-
- Mar 22, 2016
-
-
Mike Pennisi authored
As written, the example for asserting runtime errors is written with an early error. Because the error is expected to be reported prior to program execution, the `assert.throws` function cannot be used to detect it. Demonstrate the usage of the helper function with a runtime error.
-
- Mar 16, 2016
-
-
Mike Pennisi authored
-
- Feb 22, 2016
-
-
Leonardo Balter authored
Fixes #477
-
- Feb 12, 2016
-
-
Mike Pennisi authored
For asynchronous tests, the contract between test file and test runner is implicit: runners are expected to inspect the source code for references to a global `$DONE` identifier. Promote a more explicit contract between test file and test runner by introducing a new frontmatter "tag", `async`. This brings asynchronous test configuration in-line with other configuration mechanisms and also provides a more natural means of test filtering. The modifications to test files was made programatically using the `grep` and `sed` utilities: $ grep "\$DONE" test/ -r --files-with-match --null | \ xargs -0 sed -i 's/^\(flags:\s*\)\[/\1[async, /g' $ grep "\$DONE" test/ -rl --null | \ xargs -0 grep -E '^flags:' --files-without-match --null | \ xargs -0 sed -i 's/^---\*\//flags: [async]\n---*\//'
-
- Feb 04, 2016
-
-
Mike Pennisi authored
It was recently decided to prefer the new `id` tag over the existing `es5id` and `es6id` tag when authoring tests. Update the contribution guidelines to reference the new tag.
-
- Jan 29, 2016
-
-
Gorkem Yakin authored
-
Leonardo Balter authored
Fixes #477
-
- Jul 07, 2015
-
-
Mike Pennisi authored
Some tests involving the directive prologue are invalidated by source text transformations that insert executable code in the beginning of the script. Implement a `raw` flag that allows these tests to opt-out of this transformation. Update the relevant tests to use this flag (and remove references to globals only available when code is injected). Update the Python runner accordingly: - Do not run tests marked as "raw" in strict mode - Reject invalid test configurations Update the browser runner accordingly: - Do not modify the script body of tests marked as "raw"
-
- Jun 24, 2015
-
-
Mike Pennisi authored
-
- Jun 18, 2015
-
-
Mike Pennisi authored
Unlike the console runner, the browser runner does not modify the strictness of tests prior to running them. Regardless of a given test's metadata, it runs every test exactly once, and it never enables strict mode. This means that tests intended to function in strict mode must declare the "use strict"; directive prologue in addition to the `onlyStrict` flag. For any test that specifies the `onlyStrict` metadata flag, transform the source code by injecting a "use strict" directive prologue prior to running the test.
-