[][src]Module exonum_testkit::migrations

Testing framework for data migrations.

This module allows to test data migration scripts in isolation, without involving actual migration workflow for service instances or TestKit in general.

The core type in this module is MigrationTest; see its docs for examples of usage.

Stability

Since the corresponding functionality in the core is unstable, the entirety of this module is considered unstable as well.

Structs

AbortPolicy

Abort policy based on an iterator yielding responses to the question whether to abort the migration script when it merges data to the database.

MigrationTest

Helper for migration testing.

Enums

ScriptStatus

Status of a migration script execution.

Traits

ScriptExt

Extension trait to build MigrationScripts easily.