36 changed files with 274 additions and 118 deletions
@ -0,0 +1,7 @@
|
||||
<phpunit bootstrap="./vendor/autoload.php"> |
||||
<testsuites> |
||||
<testsuite name="JsonRPC"> |
||||
<directory>tests</directory> |
||||
</testsuite> |
||||
</testsuites> |
||||
</phpunit> |
@ -1,9 +1,13 @@
|
||||
<?php |
||||
return array( |
||||
'test_url' => 'http://www.lemonde.fr/societe/article/2013/08/30/boris-boillon-ancien-ambassadeur-de-sarkozy-arrete-avec-350-000-euros-en-liquide_3469109_3224.html', |
||||
'test_url' => array( |
||||
'http://www.lemonde.fr/societe/article/2013/08/30/boris-boillon-ancien-ambassadeur-de-sarkozy-arrete-avec-350-000-euros-en-liquide_3469109_3224.html', |
||||
'http://www.lemonde.fr/afrique/article/2015/04/06/plonge-dans-la-crise-l-angola-revele-son-vrai-visage_4610364_3212.html', |
||||
), |
||||
'body' => array( |
||||
'//div[@id="articleBody"]', |
||||
'//div[@itemprop="articleBody"]', |
||||
), |
||||
'strip' => array( |
||||
), |
||||
); |
||||
); |
||||
|
@ -0,0 +1,7 @@
|
||||
<phpunit bootstrap="./vendor/autoload.php"> |
||||
<testsuites> |
||||
<testsuite name="simpleValidator"> |
||||
<directory>tests</directory> |
||||
</testsuite> |
||||
</testsuites> |
||||
</phpunit> |
Loading…
Reference in new issue