Skip to content

Commit cfa250d

Browse files
author
Davert
committed
Merge branch 'master' of github.com:Codeception/codeception.github.com
2 parents d980afd + 9e71843 commit cfa250d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+441
-46
lines changed

_includes/guides.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<li><a href="/docs/01-Introduction">Introduction</a></li><li><a href="/docs/02-GettingStarted">Getting Started</a></li><li><a href="/docs/03-Modules">Modules</a></li><li><a href="/docs/04-AcceptanceTests">Acceptance Tests</a></li><li><a href="/docs/05-FunctionalTests">Functional Tests</a></li><li><a href="/docs/06-UnitTests-TEST">Unit Tests-TEST</a></li><li><a href="/docs/07-UnitTestsScenarios">Unit Tests Scenarios</a></li><li><a href="/docs/08-UnitTests-CEST">Unit Tests-CEST</a></li><li><a href="/docs/09-Data">Data</a></li><li><a href="/docs/10-WebServices">Web Services</a></li><li><a href="/docs/11-CodeCoverage">Code Coverage</a></li>
1+
<li><a href="/docs/01-Introduction">Introduction</a></li><li><a href="/docs/02-GettingStarted">Getting Started</a></li><li><a href="/docs/03-Modules">Modules</a></li><li><a href="/docs/04-AcceptanceTests">Acceptance Tests</a></li><li><a href="/docs/05-FunctionalTests">Functional Tests</a></li><li><a href="/docs/06-UnitTests-TEST">Unit Tests-TEST</a></li><li><a href="/docs/07-UnitTestsScenarios">Unit Tests Scenarios</a></li><li><a href="/docs/08-UnitTests-CEST">Unit Tests-CEST</a></li><li><a href="/docs/09-Data">Data</a></li><li><a href="/docs/10-WebServices">Web Services</a></li><li><a href="/docs/11-Codecoverage">Codecoverage</a></li>

_layouts/doc.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
---
44
<div class="row">
55
<div class="span8">
6-
<div class="content page" id="page">
6+
<div class="content page">
77
<div>
8-
{{ content }}
9-
108

9+
<div id="page">
10+
{{ content }}
11+
</div>
12+
<p>
13+
&nbsp;
14+
</p>
1115
<div class="alert alert-warning">
1216
Docs are incomplete? Outdated? Maybe it even misled you? Or you just found a typo?
1317
<a href="https://github.com/Codeception/Codeception/tree/master/docs">Help us improve documentation. Fork it and edit.</a>

codecept.phar

369 KB
Binary file not shown.

docs/01-Introduction.markdown

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,8 @@ $I->seeInDatabase('users', array('id' => 1, 'username' => 'miles'));
138138

139139
Despite the wide popularity of TDD, few PHP developers ever write automatic tests for their applications. The Codeception framework was developed to make the testing actually fun. It allows writing unit, functional, integration, and acceptance tests in one style.
140140

141-
It could be called a BDD framework. All Codeception tests are written in a descriptive manner. Just by looking in the test body you can get a clear understanding of what is being tested and how it is performed. Even complex tests with many assertions are written in a simple PHP DSL.
141+
It could be called a BDD framework. All Codeception tests are written in a descriptive manner. Just by looking in the test body you can get a clear understanding of what is being tested and how it is performed. Even complex tests with many assertions are written in a simple PHP DSL.
142+
143+
144+
145+
* **Next Chapter: [GettingStarted >](/docs/02-GettingStarted)**

docs/01-Introduction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
Next Chapter: [GettingStarted](/docs/02-GettingStarted)

docs/02-GettingStarted.markdown

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,4 +321,9 @@ There are plenty of useful Codeception commands.
321321

322322
## Conclusion
323323

324-
We took a look into the Codeception structure. Most of the things you need were already generated by the `bootstrap` command. After you have reviewed the basic concepts and configurations, you can start writing your first scenarios.
324+
We took a look into the Codeception structure. Most of the things you need were already generated by the `bootstrap` command. After you have reviewed the basic concepts and configurations, you can start writing your first scenarios.
325+
326+
327+
328+
* **Next Chapter: [Modules >](/docs/03-Modules)**
329+
* **Previous Chapter: [< Introduction](/docs/01-Introduction)**

docs/02-GettingStarted.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
Previous Chapter: [Introduction](/docs/01-Introduction)
3+
Next Chapter: [Modules](/docs/03-Modules)

docs/03-Modules.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,9 @@ Codeception provides modules to emulate web requests, access data, interact with
369369
For your application you might need custom actions. These can be defined in helper classes.
370370
If you have written a module that may be useful to others, share it.
371371
Fork the Codeception repository, put the module into the `src/Codeception/Module` directory, and send a pull request. Many thanks if you do so.
372+
373+
374+
375+
376+
* **Next Chapter: [AcceptanceTests >](/docs/04-AcceptanceTests)**
377+
* **Previous Chapter: [< GettingStarted](/docs/02-GettingStarted)**

docs/03-Modules.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
Previous Chapter: [GettingStarted](/docs/02-GettingStarted)
3+
Next Chapter: [AcceptanceTests](/docs/04-AcceptanceTests)

docs/04-AcceptanceTests.markdown

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ class WebHelper extends \Codeception\Module {
377377
378378
function seeResponseIsPrettyLong($size = 3000) {
379379
$session = $this->getModule('PhpBrowser')->session;
380-
$content = $session->getPage()->getConetent();
380+
$content = $session->getPage()->getContent();
381381
$this->assertGreaterThen($size, strlen($content));
382382
}
383383
}
@@ -392,3 +392,9 @@ And in the end we performed assertion on current content.
392392
## Conclusion
393393

394394
Writing acceptance tests with Codeception and PhpBrowser is a good start. You can easily test your Joomla, Drupal, Wordpress sites, as well as those made with frameworks. Writing acceptance tests is like describing a tester's actions in PHP. They are quite readable and very easy to write. Don't forget to repopulate the database on each test run.
395+
396+
397+
398+
399+
* **Next Chapter: [FunctionalTests >](/docs/05-FunctionalTests)**
400+
* **Previous Chapter: [< Modules](/docs/03-Modules)**

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy