<commit_before># Codeception MultiDb Extension

This extension supports multiple dabatase backends, providing equivalant service as the [Db module](http://codeception.com/docs/modules/Db). Additionally it provices capability to safely switch between database connectors and multi-level transaction support.

It is still in development, but is stable enough for anyone to give it a try.

# Installation

For codeception v2.0, please use `v1.0.0` using the `composer` command below.

```
composer require "natterbox/codeception-multidb: ~1.0.0"
```

A version that supports codeception v2.1 is under active development. You can install it by using the `composer` command below.

```
composer require "natterbox/codeception-multidb: ~2.0@dev"
```

NOTE: Even though there has not yet been a stable release for `2.0`, it is fully compatible with `1.0` for features and its API. Please do log an issue for any bugs or possible improvemnts you identify.

# How to contribute?

Please feel free to fork and submit a pull request. Bug fixes and general usability comments would be much appreciated.

If you are to contribute a feature or bug-fix, please do log an issue before starting to work on the code. Then branch from the appropriate release branch, to make those changes (see below for details).

Coding standard that is followed here is `PSR-2`.

## Why version `2.0`?

Version `2.0` will be the branch for migrating MultiDb to Codeception version `2.1`.

## What is happening to version `1.0`?

Version `1.0` is still a supported version; any major feature additions or bug fixes will be done for both versions.

## Is `master` the same as `2.0`?

It is essentially the same; but for the purpose of submitting pull requests, you should choose the appropriate branch, depending on the codeception version you have developed against.
<commit_msg>Adding notes about CtrlC module<commit_after># Codeception MultiDb Extension

This extension supports multiple dabatase backends, providing equivalant service as the [Db module](http://codeception.com/docs/modules/Db). Additionally it provices capability to safely switch between database connectors and multi-level transaction support.

It is still in development, but is stable enough for anyone to give it a try.

# Installation

For codeception v2.0, please use `v1.0.0` using the `composer` command below.

```
composer require "natterbox/codeception-multidb: ~1.0.0"
```

A version that supports codeception v2.1 is under active development. You can install it by using the `composer` command below.

```
composer require "natterbox/codeception-multidb: ~2.0@dev"
```

NOTE: Even though there has not yet been a stable release for `2.0`, it is fully compatible with `1.0` for features and its API. Please do log an issue for any bugs or possible improvemnts you identify.

# Usage

Please see `DemoCest` in examples.

In order to avoid MultiDb (or even the Db module from codeception) leaving behind modifications in the database, due to the user aborting a test run by pressing `Ctrl+C`, leading to breaking tests during further runs, consider using the `natterbox/codeception-ctrlc` module.

# How to contribute?

Please feel free to fork and submit a pull request. Bug fixes and general usability comments would be much appreciated.

If you are to contribute a feature or bug-fix, please do log an issue before starting to work on the code. Then branch from the appropriate release branch, to make those changes (see below for details).

Coding standard that is followed here is `PSR-2`.

## Why version `2.0`?

Version `2.0` will be the branch for migrating MultiDb to Codeception version `2.1`.

## What is happening to version `1.0`?

Version `1.0` is still a supported version; any major feature additions or bug fixes will be done for both versions.

## Is `master` the same as `2.0`?

It is essentially the same; but for the purpose of submitting pull requests, you should choose the appropriate branch, depending on the codeception version you have developed against.

{'fraction_non_alphanumeric': 0.06626954579300075, 'fraction_numerical': 0.014395631670389675, 'mean_word_length': 4.475543478260869, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6997725', 'n_tokens_mistral': 1084, 'n_tokens_neox': 1048, 'n_words': 585}