Skip to content

Provides convenient tools and helpers to run different kind of tests on shlink project

License

Notifications You must be signed in to change notification settings

shlinkio/shlink-test-utils

Repository files navigation

Shlink test utils

Helpers and utilities to run different types of tests in Shlink.

Build Status Latest Stable Version License Paypal donate

Installation

Install this tool using composer.

composer require shlinkio/shlink-test-utils --dev

Base test classes

  • ApiTestCase for API e2e tests.
  • DbTestCase for database integration tests.

Both classes extends [phpunit]'s TestCase class.

TestHelper

A TestHelper class is provided too. It has methods to initialize a testing database and to seed the database fixtures.

About

Provides convenient tools and helpers to run different kind of tests on shlink project

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published