<commit_before># yii2-informix
Pdo informix driver for Yii2 framework

## Requirements
* PHP module pdo_informix;
* Informix Client SDK installed

```php
<?php
  'components' => array(
    'db' => [
           'class' => 'li9ht\yii2\informix\Connection',
           'driverName' => 'informix',
           'dsn' => 'informix:DSN=inf_db_odbc',
       ],
  ),
```
<commit_msg>add readme for unit testing<commit_after># yii2-informix
Pdo informix driver for Yii2 framework

## Requirements
* PHP module pdo_informix;
* Informix Client SDK installed

```php
<?php
  'components' => array(
    'db' => [
           'class' => 'li9ht\yii2\informix\Connection',
           'driverName' => 'informix',
           'dsn' => 'informix:DSN=inf_db_odbc',
       ],
  ),
```

## Unit Test
* Copy test folder to your yiiApp root folder.
* Edit connection dsn in test/TestCase.php file
* Run  
```bash
phpunit --bootstrap bootstrap.php ActiveRecordTest.php
```

{'fraction_non_alphanumeric': 0.1419491525423729, 'fraction_numerical': 0.00847457627118644, 'mean_word_length': 3.1447368421052633, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '585118', 'n_tokens_mistral': 345, 'n_tokens_neox': 320, 'n_words': 80}