You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.markdown
+11-15Lines changed: 11 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,17 @@ title: Codeception Changelog
9
9
10
10
11
11
12
+
### Codeception 5.0.2: 5.0.2
13
+
14
+
Released by [ 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
+
12
23
### Codeception 5.0.1: 5.0.1
13
24
14
25
Released by [ 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
2002
2013
2003
2014
2004
2015
2005
-
### Codeception 4.1.19:
2006
-
2007
-
Released by [ 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
-
2020
2016
### module-amqp 1.1.0: Support PHP 8
2021
2017
2022
2018
Released by [ 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)
Copy file name to clipboardExpand all lines: docs/02-GettingStarted.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ title: Getting Started - Codeception Docs
7
7
# Getting Started
8
8
9
9
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.
11
11
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`.
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.
49
49
50
50
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.
51
51
Codeception tries to solve 90% of possible testing issues in its modules, so you don't have to reinvent the wheel.
52
52
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:
54
54
55
55
```yaml
56
56
actor: AcceptanceTester
57
57
modules:
58
58
enabled:
59
59
- PhpBrowser:
60
-
url: http://localhost/myapp/
61
-
- \Helper\Acceptance
60
+
url: 'http://localhost/myapp/'
61
+
- Tests\Support\Helper\Acceptance
62
62
```
63
63
64
64
@@ -73,7 +73,7 @@ php vendor/bin/codecept build
73
73
74
74
## Writing a Sample Test
75
75
76
-
Codeception has its own testing format called Cest (Codecept + Test).
76
+
Codeception has its own testing format called "Cest" ("Codecept" + "Test").
77
77
To start writing a test we need to create a new Cest file. We can do that by running the following command:
78
78
79
79
```bash
@@ -88,7 +88,7 @@ This will generate `SigninCest.php` file inside `tests/Acceptance` directory. Le
Copy file name to clipboardExpand all lines: docs/GettingStarted.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ title: Getting Started - Codeception Docs
7
7
# Getting Started
8
8
9
9
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.
11
11
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`.
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.
49
49
50
50
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.
51
51
Codeception tries to solve 90% of possible testing issues in its modules, so you don't have to reinvent the wheel.
52
52
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:
54
54
55
55
```yaml
56
56
actor: AcceptanceTester
57
57
modules:
58
58
enabled:
59
59
- PhpBrowser:
60
-
url: http://localhost/myapp/
61
-
- \Helper\Acceptance
60
+
url: 'http://localhost/myapp/'
61
+
- Tests\Support\Helper\Acceptance
62
62
```
63
63
64
64
@@ -73,7 +73,7 @@ php vendor/bin/codecept build
73
73
74
74
## Writing a Sample Test
75
75
76
-
Codeception has its own testing format called Cest (Codecept + Test).
76
+
Codeception has its own testing format called "Cest" ("Codecept" + "Test").
77
77
To start writing a test we need to create a new Cest file. We can do that by running the following command:
78
78
79
79
```bash
@@ -88,7 +88,7 @@ This will generate `SigninCest.php` file inside `tests/Acceptance` directory. Le
0 commit comments