Helpers and utilities to run different types of tests in Shlink.
Install this tool using composer.
composer require shlinkio/shlink-test-utils --dev
ApiTestCase
for API e2e tests.DbTestCase
for database integration tests.
Both classes extends [phpunit]'s TestCase
class.
A TestHelper
class is provided too. It has methods to initialize a testing database and to seed the database fixtures.