Nixes / PageScraper

Library that uses a heuristic to find and return the main contents of a news article. Algorithm developed by @Nixes.
8 stars 0 forks source link

Add travis and some unit tests #14

Closed Nixes closed 8 years ago

Nixes commented 8 years ago

https://github.com/travis-ci-examples/php/blob/master/.travis.yml

Nixes commented 8 years ago

Before we can do unit testing, we need to find a way to determine success state.

Should we compare outputs with archived pages or live ones?

Is just testing if the resulting page contains words sufficient?

Nixes commented 8 years ago

Relevant guide: https://docs.travis-ci.com/user/languages/php

Nixes commented 8 years ago

Going to try and use phpunit