Download the PHP package axelerant/mdtt without Composer

On this page you can find all versions of the php package axelerant/mdtt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package mdtt

Migrated Data Testing Tool (MDTT)

Tests

This tools helps you to verify the quality of your migrated data.

Installation

Usage

Basically you follow these steps:

  1. Specify test specifications
  2. Specify test definitions
  3. Optionally, specify transform plugins
  4. Run the tests

You can find the basic template for the tool usage here.

Test specification

Specify the test specification inside the directory tests/mdtt. The specification must be written inside the spec.php. Below is a sample specification:

Test definitions

The test definitions are written in yaml format, and must be present inside the directory tests/mdtt. Let's say that you want to validate the migrated user data. Create a file called validate_users.yml. The name of the file doesn't matter.

Database

JSON

Consider that the data is exposed by the source legacy system in the following format:

Consider that the destination new system exposes data in the following format:

Transform plugin

There could be a scenario where instead of directly storing the data from source, it must be transformed in some way (say, whitespaces must be stripped) before storing it in the destination database. A QA engineer can write their own plugin, to validate the business logic that does the transformation.

The test case would look like this:

The QA engineer must specify the plugin class inside tests/mdtt/src/Plugin/Transform. The file name (and, class name) must be same as the plugin name mentioned in the test case with the first character in upper case, i.e. Trim. The plugin class must implement \Mdtt\Transform\Transform interface.

Run tests

Verbose mode

You can view all available options by doing this:

Specify email where notification will be sent when test completes

Logs

By default, the log files are created inside directory called logs. The directory will be present in the root of the test suite. The log files are named based on the datetime when the test is executed.

Features

Supported types of source

Supported types of destination

Supported types of channels to notify when test completes

Contribution

Fork this repository and do the changes.

Run tests


All versions of mdtt with dependencies

PHP Build Version
Package Version
Requires ext-mysqli Version *
symfony/console Version ^6.0
symfony/yaml Version ^6.0
symfony/dependency-injection Version ^6.0
symfony/config Version ^6.0
symfony/http-kernel Version ^6.0
phpunit/phpunit Version ^9.5
symfony/dotenv Version ^6.0
sendgrid/sendgrid Version ^7.11
monolog/monolog Version ^2.4
guzzlehttp/guzzle Version ^7.4
halaxa/json-machine Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package axelerant/mdtt contains the following files

Loading the files please wait ....