PHPackages                             christophwurst/nextcloud\_testing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. christophwurst/nextcloud\_testing

ActiveLibrary[Testing &amp; Quality](/categories/testing)

christophwurst/nextcloud\_testing
=================================

Simple and fast unit and integration testing framework for Nextcloud, based on PHPUnit

v2.0.0(2mo ago)3914.8k—10%MITPHPPHP ^8.0

Since Feb 12Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ChristophWurst/nextcloud_testing)[ Packagist](https://packagist.org/packages/christophwurst/nextcloud_testing)[ RSS](/packages/christophwurst-nextcloud-testing/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (4)Versions (32)Used By (0)

Nextcloud Testing
=================

[](#nextcloud-testing)

Simple and fast unit and integration testing framework for Nextcloud 25+, based on PHPUnit

Features

- Minimal setUp/tearDown overhead for unit tests
- Simple trait-based mechanism to reset database after integration tests
- Based on PHPUnit

Unit Tests
----------

[](#unit-tests)

Use `TestCase` as base class for your test case:

```
