FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Some small typos in documentation fixed (#117) · iamdevice/codeception.github.com@0e18d3b · GitHub

Commit 0e18d3b

Browse files
authored andcommitted
Some small typos in documentation fixed (Codeception#117)
* intgration -> integration * small typos fixed * fucntional != functional
1 parent 3e8b2db commit 0e18d3b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎for/yii.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ composer exec codecept run
3535

3636
### Unit Tests
3737

38-
Unit tests are located in `tests/unit` directory and are supposed to contain all kind of unit and intgration testing.
38+
Unit tests are located in `tests/unit` directory and are supposed to contain all kind of unit and integration testing.
3939

40-
Each test case extends `Codeception\Test\Unit` class, which is stndard Codeception format for unit testing.
40+
Each test case extends `Codeception\Test\Unit` class, which is standard Codeception format for unit testing.
4141
It is pretty hard to develop completely isolated unit tests in Yii, so an application is bootstrapped before each test case. Tests are configured in `tests/unit.suite.yml` file with Yii2 module enabled:
4242

4343
```yaml
@@ -103,8 +103,8 @@ $I->see('Subject cannot be blank');
103103
$I->see('Body cannot be blank');
104104
```
105105

106-
This way you not only test the ContactForm on a site but actual output of applicaiton that user sees.
107-
Codeception provides standard set of actions like `amOnPage`, `submitForm`, `see` for testing. Yii2 module provdes special methods, like `amLoggedInAs` (for fast authentication), `haveRecord`, `seeRecord`, `seeEmailIsSent` and others. They all are listed in [module reference](http://codeception.com/docs/modules/Yii2).
106+
This way you not only test the ContactForm on a site but actual output of application that user sees.
107+
Codeception provides standard set of actions like `amOnPage`, `submitForm`, `see` for testing. Yii2 module provides special methods, like `amLoggedInAs` (for fast authentication), `haveRecord`, `seeRecord`, `seeEmailIsSent` and others. They all are listed in [module reference](http://codeception.com/docs/modules/Yii2).
108108

109109
Functional tests should be written inside [Cest files](http://codeception.com/docs/07-AdvancedUsage#Cest-Classes), which is a scenario-driven test format of Codeception. You can easily create a new test by running:
110110

@@ -225,7 +225,7 @@ composer exec codecept bootstrap
225225
Enable module Yii2 for functional tests inside `functional.suite.yml`:
226226
227227
```yml
228-
# fucntional.suite.yml
228+
# functional.suite.yml
229229
modules:
230230
enabled:
231231
- Yii2:

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL