Skip to content

Update Travis-CI tests#56

Open
larsgw wants to merge 5 commits intoContentMine:masterfrom
larsgw:patch-travis-tests
Open

Update Travis-CI tests#56
larsgw wants to merge 5 commits intoContentMine:masterfrom
larsgw:patch-travis-tests

Conversation

@larsgw
Copy link
Contributor

@larsgw larsgw commented Jul 12, 2018

Includes:

  • Updates in Node (essential) & Ruby versions (2e28fb7, 83f2f65)
  • Update test suite code, making it run again (2b433fe)
  • Making test suite output more readable (11c1e05)
    • colour-coding PASS/WARN/ERROR
    • inserting newlines between scrapers
    • hiding quickscrapes logging - maybe a flag would be nice for this
  • Fix coverage code (8f29ec4)
    • basic fixes, making not everything return 0 again
    • added criterium, checking if values are empty (if they are, they aren't tested; dummy values would still count towards coverage)

larsgw added 5 commits July 12, 2018 20:30
Before, coverage was 0 all round.

Added another criterium: values shouldn't be
empty. If they can be, any value is
automatically counted, even if it isn't found.
When testing, a property "foo" was added, without
any sensible target. Naturally, this returned
nothing. However, it still counted towards the
coverage total.
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.

1 participant