test262/tools/packaging/test
Sam Mikes c33bf0e043 tools, harness: support new YAML frontmatter
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)
2014-07-30 15:39:04 -07:00
..
fixtures tools, harness: support new YAML frontmatter 2014-07-30 15:39:04 -07:00
README.md tools, harness: support new YAML frontmatter 2014-07-30 15:39:04 -07:00
test_common.py tools, harness: support new YAML frontmatter 2014-07-30 15:39:04 -07:00
test_parseTestRecord.py tools, harness: support new YAML frontmatter 2014-07-30 15:39:04 -07:00

README.md

Unit tests for python packaging tools

This directory holds tests for the python code, not tests of EMCAScript

Running tests

$ cd tools/packaging/test
$ python test*.py