Skip to content

Commit dd49896

Browse files
committed
changed cname
1 parent 30331e8 commit dd49896

File tree

2 files changed

+75
-71
lines changed

2 files changed

+75
-71
lines changed

_site/index.html

+75-71
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="title" content="Codeception - BDD-style PHP testing framework" />
6-
<title> Codeception Collection of symfony framework tools - Symfohub: useful libs for symfony frameworks</title>
6+
<title> Codeception - BDD-style PHP testing. Collection of symfony framework tools - Symfohub: useful libs for symfony frameworks</title>
77
<link rel="shortcut icon" href="/images/favicon.png" />
88
<link rel="stylesheet" type="text/css" media="screen" href="/css/screen.css" />
99
<link rel="stylesheet" type="text/css" media="screen" href="/css/twilight.css" />
@@ -36,127 +36,131 @@
3636
</div>
3737

3838
<div>
39-
---
40-
layout: default
41-
title: Codeception - BDD-style PHP testing.
42-
---
39+
<h1>Codeception</h1>
4340

44-
# Codeception
45-
46-
Codeception is new PHP full-stack testing framework.
41+
<p>Codeception is new PHP full-stack testing framework.
4742
Inspired by BDD, it provides you absolutely new way for writing acceptance, functional and even unit tests.
48-
Powered by PHPUnit 3.6.
43+
Powered by PHPUnit 3.6.</p>
4944

50-
[![Build Status](https://secure.travis-ci.org/Codeception/Codeception.png?branch=master)](http://travis-ci.org/Codeception/codeception)
45+
<p><a href="http://travis-ci.org/Codeception/codeception"><img src="https://secure.travis-ci.org/Codeception/Codeception.png?branch=master" alt="Build Status" /></a></p>
5146

52-
### In a Glance
47+
<h3>In a Glance</h3>
5348

54-
Describe what you test and how you test it. Use PHP to write descriptions faster.
49+
<p>Describe what you test and how you test it. Use PHP to write descriptions faster.</p>
5550

56-
Run tests and see what actions were taken and what results were seen.
51+
<p>Run tests and see what actions were taken and what results were seen.</p>
5752

58-
#### Sample acceptance test
53+
<h4>Sample acceptance test</h4>
5954

60-
``` php
61-
<?php
55+
<p>``` php
56+
&lt;?php</p>
6257

63-
$I = new TestGuy($scenario);
58+
<p>$I = new TestGuy($scenario);
6459
$I->wantTo('create wiki page');
6560
$I->amOnPage('/');
6661
$I->click('Pages');
6762
$I->click('New');
6863
$I->see('New Page');
69-
$I->submitForm('#pageForm', array('page' => array(
70-
'title' => 'Tree of Life Movie Review',
71-
'body' => 'Next time don\'t let Hollywood create arthouse =) '
72-
)));
64+
$I->submitForm('#pageForm', array('page' => array(</p>
65+
66+
<pre><code>'title' =&gt; 'Tree of Life Movie Review',
67+
'body' =&gt; 'Next time don\'t let Hollywood create arthouse =) '
68+
</code></pre>
69+
70+
<p>)));
7371
$I->see('page created'); // notice generated
7472
$I->see('Tree of Life Movie Review','h1'); // head of page of is our title
7573
$I->seeInCurrentUrl('pages/tree-of-life-mobie-review'); // slug is generated
7674
$I->seeInDatabase('pages', array('title' => 'Tree of Life Movie Review')); // data is stored in database
7775
?>
7876
```
7977
Ok, as for unit test similar approach may seem weired, but...
80-
Take a look at this:
81-
82-
#### Sample unit test
83-
84-
``` php
85-
<?php
86-
class UserControllerCest {
87-
public $class = 'UserController';
88-
89-
public function createAction(CodeGuy $I)
90-
{
91-
$I->haveFakeClass($userController = Stub::make('UserController'));
92-
$I->executeTestedMethodOn($userController, array('username' => 'MilesDavis', 'email' => '[email protected]'))
93-
->seeResultEquals(true)
94-
->seeMethodInvoked($userController, 'renderHtml')
95-
->seeInDabatase('users', array('username' => 'MilesDavis'));
96-
}
78+
Take a look at this:</p>
79+
80+
<h4>Sample unit test</h4>
81+
82+
<p>``` php
83+
&lt;?php
84+
class UserControllerCest {</p>
85+
86+
<pre><code>public $class = 'UserController';
87+
88+
public function createAction(CodeGuy $I)
89+
{
90+
$I-&gt;haveFakeClass($userController = Stub::make('UserController'));
91+
$I-&gt;executeTestedMethodOn($userController, array('username' =&gt; 'MilesDavis', 'email' =&gt; '[email protected]'))
92+
-&gt;seeResultEquals(true)
93+
-&gt;seeMethodInvoked($userController, 'renderHtml')
94+
-&gt;seeInDabatase('users', array('username' =&gt; 'MilesDavis'));
9795
}
98-
?>
96+
</code></pre>
9997

100-
```
98+
<p>}
99+
?></p>
101100

102-
Anyway, If you don't really like writing unit tests in DSL, Codeceptance can run PHPUnit tests natively.
101+
<p>```</p>
103102

104-
## Documentation
103+
<p>Anyway, If you don't really like writing unit tests in DSL, Codeceptance can run PHPUnit tests natively.</p>
105104

106-
[Documentation on Github](https://github.com/Codeception/Codeception/tree/master/docs)
105+
<h2>Documentation</h2>
107106

108-
Documentation is currently bounded with project. Look for it in 'docs' directory.
107+
<p><a href="https://github.com/Codeception/Codeception/tree/master/docs">Documentation on Github</a></p>
109108

110-
## Installation
109+
<p>Documentation is currently bounded with project. Look for it in 'docs' directory.</p>
111110

112-
### PEAR
113-
Install latest PEAR package from GitHub:
111+
<h2>Installation</h2>
114112

115-
```
113+
<h3>PEAR</h3>
114+
115+
<p>Install latest PEAR package from GitHub:</p>
116+
117+
<p><code>
116118
pear channel-discover codeception.github.com/pear
117119
pear install codeception/Codeception
118-
```
120+
</code></p>
119121

120-
### Phar
122+
<h3>Phar</h3>
121123

122-
Download [codecept.phar](https://github.com/Codeception/Codeception/raw/master/package/codecept.phar)
124+
<p>Download <a href="https://github.com/Codeception/Codeception/raw/master/package/codecept.phar">codecept.phar</a></p>
123125

124-
Copy it into your project.
125-
Run CLI utility:
126+
<p>Copy it into your project.
127+
Run CLI utility:</p>
126128

127-
```
129+
<p><code>
128130
php codecept.phar
129-
```
131+
</code></p>
130132

131-
## Getting Started
133+
<h2>Getting Started</h2>
132134

133-
If you sucessfully installed Codeception, run this commands:
135+
<p>If you sucessfully installed Codeception, run this commands:</p>
134136

135-
```
137+
<p><code>
136138
codecept install
137-
```
139+
</code></p>
138140

139-
this will install all dependency tools like PHPUnit and Mink
141+
<p>this will install all dependency tools like PHPUnit and Mink</p>
140142

141-
```
143+
<p><code>
142144
codecept bootstrap
143-
```
145+
</code></p>
144146

145-
this will create default directory structure and default test suites
147+
<p>this will create default directory structure and default test suites</p>
146148

147-
```
149+
<p><code>
148150
codecept build
149-
```
151+
</code></p>
152+
153+
<p>This will generate Guy-classes, in order to make autocomplete works.</p>
154+
155+
<p>See Documentation for more information.</p>
150156

151-
This will generate Guy-classes, in order to make autocomplete works.
157+
<h3>License</h3>
152158

153-
See Documentation for more information.
159+
<p>MIT</p>
154160

155-
### License
156-
MIT
161+
<p>(c) Michael Bodnarchuk "Davert"
162+
2011</p>
157163

158-
(c) Michael Bodnarchuk "Davert"
159-
2011
160164
</div>
161165
</div>
162166
<div class="sidebar">

CNAME renamed to ~CNAME

File renamed without changes.

0 commit comments

Comments
 (0)