Skip to content
Snippets Groups Projects
  1. Jun 08, 2018
  2. May 12, 2018
  3. Apr 24, 2018
  4. Feb 09, 2018
  5. Jan 11, 2018
  6. Jan 10, 2018
  7. Jan 05, 2018
    • Mike Pennisi's avatar
      e6d674ef
    • Mike Pennisi's avatar
      Rename negative test "phase" for parsing · 13611037
      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.
      13611037
    • Adrian Heine's avatar
      8e7213db
  8. Oct 18, 2017
  9. Oct 04, 2017
  10. Sep 08, 2017
  11. Aug 23, 2017
  12. Jun 28, 2017
    • Mike Pennisi's avatar
      Enforce use of `throw` stmt in early error tests · 53842533
      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.
      53842533
  13. Jun 12, 2017
    • jugglinmike's avatar
      Lint test `features` tag (#1060) · 66bd632b
      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.
      66bd632b
  14. May 04, 2017
  15. May 01, 2017
  16. Apr 24, 2017
  17. Apr 13, 2017
  18. Apr 11, 2017
  19. Mar 04, 2017
    • Mike Pennisi's avatar
      [generation] Prevent invalid transformation · da4e798e
      Mike Pennisi authored
      In order to promote readability of the generated test material, the test
      generation tool may insert whitespace if the context a given expanded
      variable calls for it. Avoid inserting such whitespace within literal
      values that span multiple lines.
      da4e798e
  20. Oct 19, 2016
  21. Aug 22, 2016
  22. Jun 18, 2016
    • Sam Saccone's avatar
      Switch to non-positional argument. · cb4e1bcb
      Sam Saccone authored
      Since the argument is required, we mark it as so. Using this approach
      gives the user a much nicer error message, as compared to just the "not
      enough args" message.
      cb4e1bcb
  23. May 31, 2016
  24. Apr 26, 2016
  25. Apr 25, 2016
    • jugglinmike's avatar
      [generation] Support changing to existing files (#583) · 54fcbf7a
      jugglinmike authored
      When inspecting previously-generated files, a new `Test` instance should
      be used. This avoids over-writing the in-memory representation of the
      latest test, and allows previously-existing test files to be partially
      updated according to subsequent changes in their respective source/case
      files.
      54fcbf7a
  26. Apr 18, 2016
    • Mike Pennisi's avatar
      [generation] Improve file creation heuristic · 613d33ad
      Mike Pennisi authored
      In expecting "case directories" to contain a sub-directory named
      "default", the test generation tool is unable to generate tests for
      features where a directory named "default" is not appropriate.
      
      Modify the heuristic that identifies "case directories" to use a more
      fundamental aspect (i.e. the existence of at least one "case" file).
      613d33ad
    • Mike Pennisi's avatar
      [generation] Expand "comments" in string literals · b0b41775
      Mike Pennisi authored
      Extend test generation tool to recognize and expand interpolation
      patterns within string literals.
      b0b41775
  27. Mar 16, 2016
Loading