Commit Graph

9 Commits (d708744822a37b15baf6f1f858909965a6a9c12b)

Author SHA1 Message Date
Richard Harding c931a80ba8 Tweak tests post merging 12 years ago
Jerry Charumilind 883a02ad5d Add a regression for a multi-page nytimes article
It does not quite work yet, as we wrongly pull in page 2 at the end of the
article due to yet-to-be-implemented duplicate avoidance.

Conflicts:

	src/readability_lxml/readability.py
	src/tests/gen_test.py
	src/tests/regression.py
12 years ago
Richard Harding e8a6250605 Clean up merge, put tests in right place, adjust imports 12 years ago
Jerry Charumilind 8988b6b767 Add comment for read_orig 12 years ago
Jerry Charumilind 7d097d5f11 Add subcommand parsing to gen_test
There are now subcommands to generate new tests or just regenerate readable
versions of old tests.

Conflicts:

	src/tests/gen_test.py
12 years ago
Jerry Charumilind b04f75239c Add option to not generate yaml file
Sometimes you just want to generate the data files without the YAML
specification.  This change lets you do that.  In doing so, I switched to use
the argparse module for argument parsing.

Conflicts:

	src/tests/gen_test.py
12 years ago
Richard Harding 9fec245ae4 garden 12 years ago
Jerry Charumilind 6af808bc14 Add docstring briefly describing gen_test program 12 years ago
Jerry Charumilind 7980ca84c9 Add regression tests for readability results
These test cases provide a baseline from which we can start improving the
readability algorithm and making sure that we do not horribly break anything.

Conflicts:

	src/tests/regression.py
12 years ago