29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-25 23:02:55 +00:00
cms/phpunit.xml.dist
David Neukirchen 772fa72f98 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 15:20:06 +01:00

13 lines
258 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/Unit/bootstrap.php" colors="false">
<testsuites>
<testsuite name="libraries">
<directory suffix="Test.php">./tests/Unit/Libraries</directory>
</testsuite>
</testsuites>
</phpunit>