<commit_before>This folder contains various tests for the basic application.
These tests are developed with [Codeception PHP Testing Framework](http://codeception.com/).

After creating the basic application, follow these steps to prepare for the tests:

1. In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so
   that it points to the correct entry script URL.
2. Install additional composer packages:

```
php composer.phar require --dev "codeception/codeception: 1.8.*@dev" "codeception/specify: *" "codeception/verify: *"
```

3. Go to the application base directory and build the test suites:

   ```
   vendor/bin/codecept build
   ```

Now you can run the tests with the following commands:

```
# run all available tests
vendor/bin/codecept run
# run acceptance tests
vendor/bin/codecept run acceptance
# run functional tests
vendor/bin/codecept run functional
# run unit tests<commit_msg>Fixed list in tests readme<commit_after>This folder contains various tests for the basic application.
These tests are developed with [Codeception PHP Testing Framework](http://codeception.com/).

After creating the basic application, follow these steps to prepare for the tests:

- In the file `_bootstrap.php`, modify the definition of the constant `TEST_ENTRY_URL` so
   that it points to the correct entry script URL.
- Install additional composer packages:

```
php composer.phar require --dev "codeception/codeception: 1.8.*@dev" "codeception/specify: *" "codeception/verify: *"
```

- Go to the application base directory and build the test suites:

   ```
   vendor/bin/codecept build
   ```

Now you can run the tests with the following commands:

```
# run all available tests
vendor/bin/codecept run
# run acceptance tests
vendor/bin/codecept run acceptance
# run functional tests
vendor/bin/codecept run functional
# run unit tests
{'fraction_non_alphanumeric': 0.08217716115261472, 'fraction_numerical': 0.003735325506937033, 'mean_word_length': 4.530973451327434, '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': '3463113', 'n_tokens_mistral': 499, 'n_tokens_neox': 482, 'n_words': 222}