@@ -51,7 +51,7 @@ <h4>Functional Testing</h4>
51
51
< span class ="badge pull-right "> CodeGuy</ span >
52
52
< h4 > Unit Testing</ h4 >
53
53
< p >
54
- < b > PHPUnit</ b > tests, with better stubs, and database interactions. Readable
54
+ < b > PHPUnit</ b > tests, with better stubs, and database interactions. Readable
55
55
scenario-driven tests. CodeCoverage.
56
56
</ p >
57
57
</ div >
@@ -88,8 +88,8 @@ <h4>Unit Testing</h4>
88
88
89
89
< p class ="alert page well alert-success ">
90
90
Codeception is kept as simple as possible for any kind of users.
91
- PHP developers, QAs, Managers can use Codeception. The only requirements are basic konwledge of PHP and theory of automated testing.
92
- It's configuration is kept short, all common issues are already solved.
91
+ PHP developers, QAs, Managers can use Codeception. The only requirements are basic knowledge of PHP and theory of automated testing.
92
+ Its configuration is kept short, all common issues are already solved.
93
93
</ p >
94
94
95
95
< h4 > Features</ h4 >
@@ -118,10 +118,9 @@ <h4>Features</h4>
118
118
< h3 > Questions you wanted to ask</ h3 >
119
119
< span class ="badge badge-info pull-right "> Q</ span >
120
120
< h4 > Do I really need this?</ h4 >
121
- < p > If you develop a complex web applications with forms, links, and many
121
+ < p > If you develop complex web applications with forms, links, and many
122
122
pages (or maybe APIs), and you want to
123
- < b > check all forms and links in a minutes</ b > , you need to use testing framework.
124
- Codeception just suites the best for that.
123
+ < b > check all forms and links in minutes</ b > , you need to use a testing framework.
125
124
</ p >
126
125
< span class ="badge badge-info pull-right "> Q</ span >
127
126
< h4 > Why should I use this instead of PHPUnit?</ h4 >
@@ -130,27 +129,27 @@ <h4>Why should I use this instead of PHPUnit?</h4>
130
129
< b > Selenium</ b > or other backends. Codeception is
131
130
< b > PHPUnit on steroids</ b > . Everything you need for testing is built-in and
132
131
works just out of the box. No more pain in configuring Selenium, data cleanup, writing XPaths,
133
- and fixtures.
132
+ and fixtures.
134
133
</ p >
135
134
< span class ="badge badge-info pull-right "> Q</ span >
136
135
137
136
< h4 > No need for this. It looks just like Behat</ h4 >
138
- < p > Hold on! Even it uses the same style in test description and Mink as a
137
+ < p > Hold on! Even though it uses the same style in test descriptions and Mink as a
139
138
driver, Codeception is completely different. As you know,
140
139
< b > Behat is not a testing framework</ b > , but Codeception is. Codeception
141
140
tests are written in PHP they are written much faster, especially if you
142
- use IDE . You can use
141
+ use an IDE . You can use
143
142
< b > variables and operators in your tests</ b > . You can use
144
- < b > CSS and XPath</ b > selectors in your tests. This features allows you to
143
+ < b > CSS and XPath</ b > selectors in your tests. These features allow you to
145
144
build a solid test automation platform for testing your web application.
146
- Even though Codeception test are very readable for your developers, managers,
145
+ Codeception tests are very readable for your developers, managers,
147
146
and QA team.
148
147
</ p >
149
148
150
149
< span class ="badge badge-info pull-right "> Q</ span >
151
150
< h4 > We are planning to use Selenium. Why Codeception?</ h4 >
152
- < p > Codeception works great with Selenium. But with Codeception you can write your tests in PHP. And
153
- the main reason is: < strong > Selenium tests are tightly bound to XPath locators</ strong > .
151
+ < p > Codeception works great with Selenium. But with Codeception you can write your tests in PHP.
152
+ The main reason is: < strong > Selenium tests are tightly bound to XPath locators</ strong > .
154
153
If you ever change anything in layout tests will fall. Codeception locators
155
154
are more stable. You can use names, labels, button names and CSS to match
156
155
elements on page. It's much easier to support the Codeception test then
@@ -160,12 +159,12 @@ <h4>We are planning to use Selenium. Why Codeception?</h4>
160
159
161
160
< span class ="badge badge-info pull-right "> Q</ span >
162
161
< h4 > Why do all tests starts with 'Guy'?</ h4 >
163
- < p > I'm not a sexist in any form, but we call the test worker a Guy. Think
164
- of it as a imaginable person that describers his actions in PHP DSL. I
165
- am new guy, he says. I want to test your application, he says. I click
166
- " Log In" , fill fields, and I see " Hello" in page, he says. In our team
162
+ < p > I'm not sexist in any form, but we call the test worker a Guy. Think
163
+ of it as an imaginable person that describers his actions in PHP DSL. " I
164
+ am new guy" , he says. " I want to test your application" , he says. " I click
165
+ ' Log In' , fill fields, and I see ' Hello' in page" , he says. In our team
167
166
we just thought it is more natural to write tests from a person's perspective,
168
- then just commands.
167
+ than just commands.
169
168
</ p >
170
169
171
170
@@ -210,16 +209,16 @@ <h3>Acceptance Test</h3>
210
209
{% endhighlight %}
211
210
</ p >
212
211
< p > This test can be executed inside Mozilla Firefox using Selenium Webdriver,
213
- or any browser. Nevertheless, you can execute this test without any browser
214
- but with PHP browser emulator based on CURL.
215
- in it. </ p >
212
+ or any browser. You can also execute this test without any browser
213
+ by using a PHP browser emulator based on CURL.
214
+ </ p >
216
215
< p >
217
216
< a class ="btn " href ="/docs/04-AcceptanceTests "> < span class ="btn-label "> Read more about Acceptance Tests →</ span > </ a >
218
217
</ p >
219
218
220
219
< p >
221
- This test can be also executed as a functional test in one of popular PHP frameworks.
222
- Codeception has modules that support < strong > Symfony2</ strong > , Zend Framework, Kohana.
220
+ This test can be also executed as a functional test in one of the popular PHP frameworks.
221
+ Codeception has modules that support < strong > Symfony2</ strong > , Zend Framework and Kohana.
223
222
</ p >
224
223
225
224
< p >
0 commit comments