miniflux-legacy/phpunit.xml
Mathias Kresin 972fa86357 update integration tests
- more flexibility and explicitly with the expected dataset
- use radio button to select unittest.db
- add tests:
    - previous/next article with arrow key left/right
    - no alerts are displayed by default
    - alert is displayed on first feed page if feed has parsing error
    - keyboard shortcuts are disabled with modifier keys shift, alt and control (except IE)
    - display logic on subscription page
2015-01-19 22:52:50 +01:00

41 lines
1.3 KiB
XML

<phpunit bootstrap="tests/integration/minifluxTestCase.php" >
<php>
<const name="DB_FILENAME" value="unittest.sqlite" />
<const name="PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_BASEURL" value="http://localhost/miniflux/" />
<const name="PHPUNIT_TESTSUITE_EXTENSION_SELENIUM_BROWSERS" value='
[
{
"browserName": "firefox",
"host": "localhost",
"port": 4444,
"sessionStrategy": "shared"
},
{
"browserName": "iexplore",
"host": "localhost",
"port": 4444,
"sessionStrategy": "shared"
},
{
"browserName": "chrome",
"host": "localhost",
"port": 4444,
"sessionStrategy": "shared"
}
]
'/>
</php>
<listeners>
<listener class="PHPUnit_Extensions_Selenium2TestCase_ScreenshotListener">
<arguments>
<string>./tests/</string>
</arguments>
</listener>
</listeners>
<testsuites>
<testsuite name="Miniflux">
<directory>tests/</directory>
</testsuite>
</testsuites>
</phpunit>