Skip to content

Commit 3e3912c

Browse files
github-actions[bot]github-actions[bot]
authored andcommitted
updated
1 parent 20053c4 commit 3e3912c

File tree

3 files changed

+31
-35
lines changed

3 files changed

+31
-35
lines changed

changelog.markdown

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ title: Codeception Changelog
99

1010

1111

12+
### Codeception 5.0.2: 5.0.2
13+
14+
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) Naktibalda](https://github.com/Naktibalda) on 2022/08/20 18:24:07 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
15+
16+
17+
18+
* Fixed remote code coverage for namespaced suites ([#6533](https://github.com/Codeception/Codeception/issues/6533))
19+
* Fixed data provider in abstract Cest class **[p-golovin](https://github.com/p-golovin)** ([#6560](https://github.com/Codeception/Codeception/issues/6560))
20+
* Fixed issue when include groups and test groups empty **[geega](https://github.com/geega)** ([#6557](https://github.com/Codeception/Codeception/issues/6557))
21+
22+
1223
### Codeception 5.0.1: 5.0.1
1324

1425
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) Naktibalda](https://github.com/Naktibalda) on 2022/08/13 16:49:00 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
@@ -2002,21 +2013,6 @@ Minor changes in documentation by **[ThomasLandauer](https://github.com/ThomasLa
20022013

20032014

20042015

2005-
### Codeception 4.1.19:
2006-
2007-
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) Naktibalda](https://github.com/Naktibalda) on 2021/03/28 13:33:05 / [Repository](https://github.com/Codeception/Codeception) / [Releases](https://github.com/Codeception/Codeception/releases)
2008-
2009-
2010-
2011-
* Action file generator supports PHP 8 union types
2012-
* Action file generator generates typehints for method parameters
2013-
* Removed dead code related to DataProviderTestSuite
2014-
* Removed documentation related to Cept format
2015-
* Deprecated generate:cept command
2016-
* Documentation improvements
2017-
2018-
2019-
20202016
### module-amqp 1.1.0: Support PHP 8
20212017

20222018
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) Naktibalda](https://github.com/Naktibalda) on 2021/03/21 15:29:11 / [Repository](https://github.com/Codeception/module-amqp) / [Releases](https://github.com/Codeception/module-amqp/releases)

docs/02-GettingStarted.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ title: Getting Started - Codeception Docs
77
# Getting Started
88

99
Let's take a look at Codeception's architecture. We'll assume that you have already [installed](https://codeception.com/install) it
10-
and bootstrapped your first test suites. Codeception has generated three of them: unit, functional, and acceptance.
10+
and bootstrapped your first test suites. Codeception has generated three of them: Unit, Functional, and Acceptance.
1111
They are well described in the [previous chapter](https://codeception.com/docs/01-Introduction). Inside your __/tests__ folder you will have three `.yml` config files and three directories
12-
with names corresponding to these suites: `Unit`, `Functional`, `Acceptance`. Suites are independent groups of tests with a common purpose.
12+
with names corresponding to these suites: `Unit`, `Functional`, `Acceptance`.
1313

1414
## The Codeception Syntax
1515

@@ -43,22 +43,22 @@ $I->assertEquals('post', $method);
4343

4444
## Actors
4545

46-
One of the main concepts of Codeception is representation of tests as actions of a person. We have a UnitTester, who executes functions and tests the code. We also have a FunctionalTester, a qualified tester,
47-
who tests the application as a whole, with knowledge of its internals. Lastly we have an AcceptanceTester, a user who works with our application
48-
through an interface that we provide.
46+
One of the main concepts of Codeception is representation of tests as actions of a person. We have a "UnitTester", who executes functions and tests the code. We also have a "FunctionalTester", a qualified tester,
47+
who tests the application as a whole, with knowledge of its internals. Lastly we have an "AcceptanceTester", a user who works with our application
48+
in a real browser.
4949

5050
Methods of actor classes are generally taken from [Codeception Modules](https://codeception.com/docs/06-ModulesAndHelpers). Each module provides predefined actions for different testing purposes, and they can be combined to fit the testing environment.
5151
Codeception tries to solve 90% of possible testing issues in its modules, so you don't have to reinvent the wheel.
5252
We think that you can spend more time on writing tests and less on writing support code to make those tests run.
53-
By default, AcceptanceTester relies on PhpBrowser module, which is set in the `tests/acceptance.suite.yml` configuration file:
53+
By default, AcceptanceTester relies on [PhpBrowser](https://codeception.com/docs/modules/PhpBrowser) module, which is set in the `tests/Acceptance.suite.yml` configuration file:
5454

5555
```yaml
5656
actor: AcceptanceTester
5757
modules:
5858
enabled:
5959
- PhpBrowser:
60-
url: http://localhost/myapp/
61-
- \Helper\Acceptance
60+
url: 'http://localhost/myapp/'
61+
- Tests\Support\Helper\Acceptance
6262
```
6363
6464
@@ -73,7 +73,7 @@ php vendor/bin/codecept build
7373

7474
## Writing a Sample Test
7575

76-
Codeception has its own testing format called Cest (Codecept + Test).
76+
Codeception has its own testing format called "Cest" ("Codecept" + "Test").
7777
To start writing a test we need to create a new Cest file. We can do that by running the following command:
7878

7979
```bash
@@ -88,7 +88,7 @@ This will generate `SigninCest.php` file inside `tests/Acceptance` directory. Le
8888
8989
namespace Tests\Acceptance;
9090
91-
use \Tests\Support\AcceptanceTester;
91+
use Tests\Support\AcceptanceTester;
9292
9393
class SigninCest
9494
{

docs/GettingStarted.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ title: Getting Started - Codeception Docs
77
# Getting Started
88

99
Let's take a look at Codeception's architecture. We'll assume that you have already [installed](https://codeception.com/install) it
10-
and bootstrapped your first test suites. Codeception has generated three of them: unit, functional, and acceptance.
10+
and bootstrapped your first test suites. Codeception has generated three of them: Unit, Functional, and Acceptance.
1111
They are well described in the [previous chapter](https://codeception.com/docs/01-Introduction). Inside your __/tests__ folder you will have three `.yml` config files and three directories
12-
with names corresponding to these suites: `Unit`, `Functional`, `Acceptance`. Suites are independent groups of tests with a common purpose.
12+
with names corresponding to these suites: `Unit`, `Functional`, `Acceptance`.
1313

1414
## The Codeception Syntax
1515

@@ -43,22 +43,22 @@ $I->assertEquals('post', $method);
4343

4444
## Actors
4545

46-
One of the main concepts of Codeception is representation of tests as actions of a person. We have a UnitTester, who executes functions and tests the code. We also have a FunctionalTester, a qualified tester,
47-
who tests the application as a whole, with knowledge of its internals. Lastly we have an AcceptanceTester, a user who works with our application
48-
through an interface that we provide.
46+
One of the main concepts of Codeception is representation of tests as actions of a person. We have a "UnitTester", who executes functions and tests the code. We also have a "FunctionalTester", a qualified tester,
47+
who tests the application as a whole, with knowledge of its internals. Lastly we have an "AcceptanceTester", a user who works with our application
48+
in a real browser.
4949

5050
Methods of actor classes are generally taken from [Codeception Modules](https://codeception.com/docs/06-ModulesAndHelpers). Each module provides predefined actions for different testing purposes, and they can be combined to fit the testing environment.
5151
Codeception tries to solve 90% of possible testing issues in its modules, so you don't have to reinvent the wheel.
5252
We think that you can spend more time on writing tests and less on writing support code to make those tests run.
53-
By default, AcceptanceTester relies on PhpBrowser module, which is set in the `tests/acceptance.suite.yml` configuration file:
53+
By default, AcceptanceTester relies on [PhpBrowser](https://codeception.com/docs/modules/PhpBrowser) module, which is set in the `tests/Acceptance.suite.yml` configuration file:
5454

5555
```yaml
5656
actor: AcceptanceTester
5757
modules:
5858
enabled:
5959
- PhpBrowser:
60-
url: http://localhost/myapp/
61-
- \Helper\Acceptance
60+
url: 'http://localhost/myapp/'
61+
- Tests\Support\Helper\Acceptance
6262
```
6363
6464
@@ -73,7 +73,7 @@ php vendor/bin/codecept build
7373

7474
## Writing a Sample Test
7575

76-
Codeception has its own testing format called Cest (Codecept + Test).
76+
Codeception has its own testing format called "Cest" ("Codecept" + "Test").
7777
To start writing a test we need to create a new Cest file. We can do that by running the following command:
7878

7979
```bash
@@ -88,7 +88,7 @@ This will generate `SigninCest.php` file inside `tests/Acceptance` directory. Le
8888
8989
namespace Tests\Acceptance;
9090
91-
use \Tests\Support\AcceptanceTester;
91+
use Tests\Support\AcceptanceTester;
9292
9393
class SigninCest
9494
{

0 commit comments

Comments
 (0)