Commit Graph

17 Commits (d708744822a37b15baf6f1f858909965a6a9c12b)

Author SHA1 Message Date
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 99d5fc0a87 Update for merge with Jerry Checkpoint multi-page readability work 12 years ago
Jerry Charumilind f02fe79840 Checkpoint multi-page readability work
Restructured code to better support multi-page readability.  Improved tests.

Conflicts:

	src/readability_lxml/readability.py
	src/tests/regression.py
12 years ago
Jerry Charumilind f8315d011c Checkpoint multi-page readability work
Restructured code to better support multi-page readability.  Improved tests.

Rick:
This generally works and the tests pass, but there are some broken cases with
the multipage bits that are causing me grief. It does pass the one test case.
I made the multipage an option vs doing it by default. The more I change the
code the harder future merges will be, but man it needs some cleanup, reorg,
and comments.

Conflicts:

	src/readability_lxml/readability.py
	src/tests/regression.py
12 years ago
Richard Harding 8cadc4a958 Fix links in the regression test set 12 years ago
Richard Harding 0951647c8e Complete move from test_data/output to regression_test* 12 years ago
Richard Harding 29fceeb4b1 Fix regression to run with metadata 12 years ago
Jerry Charumilind c21f00b1ee Reorganize constants
Conflicts:

	src/tests/regression.py
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
Jerry Charumilind bf203b5a4b Add summary page for test results
Conflicts:

	src/tests/regression.py
12 years ago
Jerry Charumilind 65989b538a Remove obsolete code
Conflicts:

	src/tests/regression.py
12 years ago
Jerry Charumilind 9b7e5bb327 Jerry Merge: Remove obsolete code 12 years ago
Jerry Charumilind 068eba19ae Jerry Merge: Add reading of test information from YAML file 12 years ago
Richard Harding 6d3ad559f6 Move test_data, add regression_test make command 12 years ago
Jerry Charumilind 5222ed0628 Jerry Merge: Initial regression test data 12 years ago
Richard Harding 6454fb3f37 Clean up merge bits a little bit 12 years ago
Richard Harding 9366436861 Merge Jerry: pull in initial set of regression tests 12 years ago