Skip to content
Snippets Groups Projects
  1. Jul 31, 2014
    • Sam Mikes's avatar
      CONTRIBUTING: more notes on test writing · 23ef85c9
      Sam Mikes authored
      Add section on test environment
      Add section on custom helpers
      describe YAML frontmatter
      Fix minor formatting errors
      document $INCLUDE as obsolete
      Change documentation of negative error
      Move test environment and custom helpers down
      indent copyright and frontmatter sections
      better description of the async calls between a promise
      and the functions in its `.then`
      Correct Early Error example: don't throw a string
      
      CONSOLE-RUNNER: split runner doc into new file
      add troubleshooting section
      23ef85c9
  2. Jul 30, 2014
    • Brian Terlson's avatar
      Merge pull request #51 from bterlson/normalize-format · 413e16e3
      Brian Terlson authored
      Normalize testcase format
      413e16e3
    • Sam Mikes's avatar
      tools, harness: support new YAML frontmatter · c33bf0e0
      Sam Mikes authored
      parseTestRecord: add support for YAML frontmatter
      parseTestRecord: initial unit test for test record parser
      parseTestRecord: refactor for testing
      
      factor old parsing; add YAML parsing
      
      runner: support "includes" from YAML frontmatter
      
      support frontmatter "includes" in python runner
      use test.includes if present instead of scanning test code with regex
      
      harness: factor individual functions out into files
      
      tools: handle YAML errors
      
      tolerate missing keys in dictionary (flags, includes)
      report filename when empty frontmatter block
      new option --list-includes to test262.py
      
      harness: factor helper functions into separate files
      
      sth: remove extra close-paren (syntax error)
      
      test_common: TDD; failing parse of YAML
      
      common: use parseTestRecord (YAML-aware)
      c33bf0e0
    • Brian Terlson's avatar
      Add path attribute. · 0defa373
      Brian Terlson authored
      0defa373
    • Brian Terlson's avatar
      Normalize testcase format · d4354d14
      Brian Terlson authored
      This commit normalizes the test case format used across test262. It applies the following transformations:
      
      * Convert to YAML for frontmatter
      * Remove of trailing whitespace
      * Replace /r/n with /n except in chapters 6 and 7.
      * Copyright header always uses // comments
      * new includes attribute replaces $INCLUDE
      * No implicit assumptions about test environment other than $ERROR. Everything else appears in the include array. This includes "runTestCase" which is now included in a substantial number of tests.
      d4354d14
    • Brian Terlson's avatar
      Merge pull request #65 from mathiasbynens/patch-1 · 07ccd199
      Brian Terlson authored
      Delete `Number.toInteger` test
      07ccd199
    • Mathias Bynens's avatar
      Delete `Number.toInteger` test · a824f447
      Mathias Bynens authored
      `Number.toInteger` was removed from the ES6 draft. Fixes #62.
      a824f447
  3. Jul 24, 2014
  4. Jul 23, 2014
  5. Jul 22, 2014
  6. Jul 21, 2014
  7. Jul 18, 2014
  8. Jul 17, 2014
  9. Jul 16, 2014
  10. Jul 15, 2014
  11. Jul 10, 2014
Loading