Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test coverage #29

Open
4 of 9 tasks
rpavlik opened this issue Jul 25, 2014 · 1 comment
Open
4 of 9 tasks

Test coverage #29

rpavlik opened this issue Jul 25, 2014 · 1 comment

Comments

@rpavlik
Copy link
Owner

rpavlik commented Jul 25, 2014

pdftotext-based tests

I'd imagine these all to be tiny input files, just a handful (2 maybe) checks in the test script, and tests scripts only for one driver (probably pdftex as the "default"). These are basically "black-box" testing.

  • A single \isuprofessor* results in a title page containing "Major Professor"
  • Two \isuprofessor* results in a title page containing "Co-major Professor" twice
  • A single \isumajor results in a title page containing "Major:"
  • Two \isumajor results in a title page containing "Co-majors:"
  • \isumajors results in a title page containing "Co-majors:"
  • Possibly tests for each of the degree types and submission types?

Formatting

I think these might be possible with pdftotext to basically extract and examine bounding boxes.

  • Position of page number on non-titlepage front matter
  • Position of page number on main matter
  • Margins in main matter with some \blindtext
@godbyk
Copy link
Collaborator

godbyk commented Aug 8, 2014

Tests for 'Major Professor', 'Co-major Professor', 'Major:', and 'Co-majors:' are in godbyk@cbec5dc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants