test262/tools
Mike Pennisi 53842533b7 Enforce use of `throw` stmt in early error tests
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.
2017-06-28 11:24:36 -04:00
..
generation Allow to specify negative frontmatter values in templates files 2017-05-04 09:29:37 -07:00
lint Enforce use of `throw` stmt in early error tests 2017-06-28 11:24:36 -04:00
misc Remove links to hg.ecmascript.org (non-license content) 2015-07-17 17:43:27 +02:00
packaging Update test harness to support new negative format 2016-10-19 15:24:21 -04:00
scripts Introduce automated validation for test format (#994) 2017-05-01 12:04:05 -04:00
CoverageAnalyzer.py Unify indentation and add .editorconfig (#973) 2017-04-13 10:37:32 -04:00