Skip to content

Commit 0c954d8

Browse files
committed
auto updated documentation
1 parent b49184f commit 0c954d8

36 files changed

Lines changed: 387 additions & 920 deletions

_includes/extensions.md

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -124,53 +124,6 @@ On each execution failed tests are logged and saved into `tests/_output/failed`
124124

125125

126126

127-
## RunProcess
128-
129-
[See Source](https://github.com/Codeception/Codeception/blob/2.3/ext/RunProcess.php)
130-
131-
Extension to start and stop processes per suite.
132-
Can be used to start/stop selenium server, chromedriver, phantomjs, mailcatcher, etc.
133-
134-
Can be configured in suite config:
135-
136-
```yaml
137-
# acceptance.suite.yml
138-
extensions:
139-
enabled:
140-
- Codeception\Extension\RunProcess:
141-
- chromedriver
142-
```
143-
144-
Multiple parameters can be passed as array:
145-
146-
```yaml
147-
# acceptance.suite.yml
148-
149-
extensions:
150-
enabled:
151-
- Codeception\Extension\RunProcess:
152-
- php -S 127.0.0.1:8000 -t tests/data/app
153-
- java -jar ~/selenium-server.jar
154-
```
155-
156-
In the end of a suite all launched processes will be stopped.
157-
158-
To wait for the process to be launched use `sleep` option.
159-
In this case you need configuration to be specified as object:
160-
161-
```yaml
162-
extensions:
163-
enabled:
164-
- Codeception\Extension\RunProcess:
165-
0: java -jar ~/selenium-server.jar
166-
1: mailcatcher
167-
sleep: 5 # wait 5 seconds for processes to boot
168-
```
169-
170-
HINT: you can use different configurations per environment.
171-
172-
173-
174127
## SimpleReporter
175128

176129
[See Source](https://github.com/Codeception/Codeception/blob/2.3/ext/SimpleReporter.php)

changelog.markdown

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ title: Codeception Changelog
1515

1616
```php
1717
<?php
18-
/*
19-
* **[prepare](https://github.com/prepare)** disableTransactions
20-
*/
18+
/**@prepare disableTransactions */
2119
function testDoctrine()
2220
{
2321
}
2422

2523
protected function disableTransactions(Doctrine2 $module)
2624
{
27-
$module->_reconfigure(['cleanup' => false);
25+
$module->_reconfigure(['cleanup' => false]);
2826
}
2927
```
3028
* **[WebDriver]** **SmartWait**. Automatically waits for a few extra seconds for element to appear on a page before failing. Can reduce high usage of `wait*` methods. [See Documentation](http://codeception.com/docs/03-AcceptanceTests#SmartWait)
@@ -36,15 +34,15 @@ protected function disableTransactions(Doctrine2 $module)
3634
* Fixed running a single test from a global config when using included configs. See [#4366](https://github.com/Codeception/Codeception/issues/4366) by **[zebraf1](https://github.com/zebraf1)** (improves PhpStorm integration)
3735
* [Doctrine2][Laravel5][Yii2][Phalcon] Print debug information for started/stopped transactions in tests. See [#4352](https://github.com/Codeception/Codeception/issues/4352)
3836
* [PhpBrowser][Frameworks] click with context respects base tag [#4330](https://github.com/Codeception/Codeception/issues/4330) by **[Naktibalda](https://github.com/Naktibalda)**.
39-
* **[Yii2]** Split `cleanup` configuration option (backward-compatible) to: ([#4379](https://github.com/Codeception/Codeception/issues/4379) by **[leandrogehlen](https://github.com/leandrogehlen)**)
37+
* **[Yii2]** Split `cleanup` configuration option (backward-compatible): ([#4379](https://github.com/Codeception/Codeception/issues/4379) by **[leandrogehlen](https://github.com/leandrogehlen)**)
4038
* `cleanup` - to cleanup loaded fixtures
4139
* `transaction` - wrap tes into transaction
4240
* **[Asserts]** Added `assertStringStartsWith` and `assertArraySubset` by **[guidocella](https://github.com/guidocella)**
4341
* **[Db]** Added `updateInDatabase` method by **[eXorus](https://github.com/eXorus)**. See [#4385](https://github.com/Codeception/Codeception/issues/4385)
4442
* In helpers and modules to check `$module::$excludeActions` property for existence before accessing it. Fixes [#4381](https://github.com/Codeception/Codeception/issues/4381) by **[CactusCoder](https://github.com/CactusCoder)**
4543
* **[Symfony]** Fixed printing debug response when `Symfony::extractRawRoles()` failed on security collector (Symfony >= 3.3) [#4309](https://github.com/Codeception/Codeception/issues/4309) by **[Basster](https://github.com/Basster)**
4644
* **[Laravel5]** Fixed bug with `disable_exception_handling` functionality. See [#4370](https://github.com/Codeception/Codeception/issues/4370). By **[janhenkgerritsen](https://github.com/janhenkgerritsen)**
47-
* **[Db]** Added `grabColumnFromDatabase` to fetch values from the column in database. By **[RebOOter](https://github.com/RebOOter)**
45+
* **[Db]** Added `grabColumnFromDatabase` to fetches values from the column in database. By **[RebOOter](https://github.com/RebOOter)**
4846

4947
#### 2.3.3
5048

docs/modules/AMQP.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To use this module with Composer you need <em>"php-amqplib/php-amqplib": "~2.4"<
2525
* vhost: '/' - vhost to connect
2626
* cleanup: true - defined queues will be purged before running every test.
2727
* queues: [mail, twitter] - queues to cleanup
28-
* single_channel - create and use only one channel during test execution
28+
* single_channel: false - create and use only one channel during test execution
2929

3030
#### Example
3131

@@ -47,16 +47,6 @@ To use this module with Composer you need <em>"php-amqplib/php-amqplib": "~2.4"<
4747

4848
### Actions
4949

50-
#### assertArraySubset
51-
52-
Checks that array contains subset.
53-
54-
* `param array` $subset
55-
* `param array` $array
56-
* `param bool` $strict
57-
* `param string` $message
58-
59-
6050
#### bindQueueToExchange
6151

6252
Binds a queue to an exchange

0 commit comments

Comments
 (0)