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: docs/Introduction.md
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -13,29 +13,28 @@ Having your application covered with tests gives you more trust in the stability
13
13
14
14
In most cases tests don't guarantee that the application works 100% as it is supposed to.
15
15
You can't predict all possible scenarios and exceptional situations for complex apps,
16
-
but with tests you can cover the most important parts of your app and at least be sure they work as predicted.
16
+
but with tests you can cover the most important parts of your app.
17
17
18
18
There are plenty of ways to test your application.
19
19
The most popular paradigm is [Unit Testing](https://en.wikipedia.org/wiki/Unit_testing).
20
-
For web applications, testing just the controller and/or the model doesn't prove that your application is working.
21
-
To test the behavior of your application as a whole, you should write functional or acceptance tests.
22
-
23
-
Codeception supports all three testing types.
24
-
Out of the box you have tools for writing unit, functional, and acceptance tests in a unified framework.
20
+
But for web applications, testing just the controller and/or the model doesn't prove that your application is working.
21
+
To test the behavior of your application as a whole, you should also write functional or acceptance tests.
25
22
26
23
| | Unit Tests | Functional Tests | Acceptance Tests
27
24
| --- | --- | --- | --- |
28
25
| Scope of the test | Single PHP class | PHP Framework (Routing, Database, etc.) | Page in browser (Chrome, Firefox, or [PhpBrowser](https://codeception.com/docs/03-AcceptanceTests#PhpBrowser)) |
29
26
| Testing computer needs access to project's PHP files | Yes | Yes | No |
0 commit comments