cms/phpunit.xml.dist

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

2012-08-20 12:41:54 +00:00
<?xml version="1.0" encoding="UTF-8"?>
Feature/unit tests (#23986) * Move unit tests back to repository * Update config files * Psr-4 autoload tests * Namespace JHtmlTests * Delete unused html test files * Add base unit test case * Namespace Cms Tests * Refactoring JLayoutBaseTest * Delete JPaginationObjectTest We do not test constructors! ;-D * Refactor JToolbarButtonCustomTest * Remove JToolbarButtonTest We should not test constructor params and getters/setters * Refactor JToolbarTests * Refactor JVersionTest * Run all library tests in the library suite * Move JAccessTests to new unit suite * Refactor JAccessRulesTest * Add JAccessRuleTest * Add to string test * Remove JGrid (Class does not exist anymore) * Remove JDocumentRendererTest JDocumentRenderer is abstract class with only a public getter * Rename tests/unit to tests/Unit * CS * Fix path to bootstrap file * CS * Re-enable, fix and refactor JDocumentTest * Refactor and re-enable JBrowserTest * Refactor and re-enable JObjectTest * Use Joomla\Tests as root namespace * Refactor and re-enable JFeedParserAtomTest * Rename mock * Namespace JHtmlStringTest * Refactor and re-enable JFeedParserRssTest * Refactor and re-enable JFeedEntryTest * Use assertArrayHasKey * Improve FeedEntry tests * Refactor and re-enable JFeedFactoryTest * Refactor and re-enable JFeedLinkTest * Rename JFeedLinkTest To FeedLinkTest * Remove JFeedPersonTest we dont test simple constructors * Add expectation * Refactor and re-enable JFeedParserTest * CS * Refactor and re-enable JFeedTest * Refactor and re-enable JMailHelperTest * Fix bug in Mail class * Refactor and re-enable MailTest * Refactor and re-enable JMicrodataTest * Remove JPlatformTest * Remove tmp dir * Fix namespaces * Delete JLoaderTest It heavily depends on filesystem and therefore should be tested with integration tests.
2019-03-10 14:20:06 +00:00
<phpunit bootstrap="tests/Unit/bootstrap.php" colors="false">
2012-08-20 12:41:54 +00:00
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
2012-08-20 12:41:54 +00:00
</testsuites>
<php>
<const name="JTEST_DB_ENGINE" value="mysqli" />
<const name="JTEST_DB_HOST" value="mysql" />
<const name="JTEST_DB_NAME" value="test_joomla" />
<const name="JTEST_DB_USER" value="joomla_ut" />
<const name="JTEST_DB_PASSWORD" value="joomla_ut" />
<!--ldap settings are preconfigured to work with bitnami/openldap docker image-->
<const name="JTEST_LDAP_HOST" value="openldap" /> <!-- to disable ldap tests: set to an empty value -->
<const name="JTEST_LDAP_PORT" value="1389" />
<const name="JTEST_LDAP_PORT_SSL" value="1636" />
<!--CACERTFILE path is relative to JPATH_ROOT-->
<const name="JTEST_LDAP_CACERTFILE" value="./tests/certs/CA.crt" />
<const name="JTEST_LDAP_USEV3" value="1" />
<const name="JTEST_LDAP_NOREFERRALS" value="1" />
<const name="JTEST_LDAP_BASE" value="dc=example,dc=org" />
<const name="JTEST_LDAP_SEARCH" value="uid=[search]" />
<const name="JTEST_LDAP_DIRECT_USERDN" value="cn=[username],ou=users,dc=example,dc=org" />
<const name="JTEST_LDAP_FULLNAME" value="cn" />
<const name="JTEST_LDAP_EMAIL" value="mail" />
<const name="JTEST_LDAP_UID" value="uid" />
<const name="JTEST_LDAP_SEARCH_DN" value="cn=customuser,ou=users,dc=example,dc=org" />
<const name="JTEST_LDAP_SEARCH_PASSWORD" value="custompassword" />
<const name="JTEST_LDAP_TESTUSER" value="customuser" />
<const name="JTEST_LDAP_TESTPASSWORD" value="custompassword" />
</php>
2012-08-20 12:41:54 +00:00
</phpunit>