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

Optional test deps #50

Merged
merged 6 commits into from
Oct 26, 2014
Merged

Optional test deps #50

merged 6 commits into from
Oct 26, 2014

Conversation

tsibley
Copy link
Collaborator

@tsibley tsibley commented Oct 25, 2014

Addresses #48.

…todb

The dependencies of these operations are no longer default prereqs since
5d48695 and 422b554.
… missing

This is a cleaner spot to do optional dep checking in tests than copy
and pasting specific operation deps and the code to check for them into
each test script.
Otherwise failure diagnostics come from within the test libraries and
make finding the failing test in the testfile itself harder than it
should be.
Since the move to a pure-Perl set of core required deps (with
specific-operational deps moved into features), fromxml, fromatomfeed,
fromdb, and todb are no longer guaranteed dep satisfaction.  (But if
they try sometimes, well they might just find, they get what they need.)
…d newlines + allow_loose_quotes

The XS implementation works fine, so only skip the failing tests if we
we're not using Text::CSV_XS.  I reported this bug as [rt.cpan.org #99589]:

    https://rt.cpan.org/Ticket/Display.html?id=99589

Most of the diff for this change is whitespace, so best viewed with
whitespace ignored.
Author tests are run under `milla test`.
@benbernard
Copy link
Owner

Looks good!

benbernard added a commit that referenced this pull request Oct 26, 2014
@benbernard benbernard merged commit 2a17816 into master Oct 26, 2014
@tsibley tsibley deleted the optional-test-deps branch October 26, 2014 01:25
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

Successfully merging this pull request may close these issues.

None yet

2 participants