Skip to content

Commit 40509d5

Browse files
author
Mark
committed
Update 2013-05-04-specification-testing-coparison.markdown
small fix typo
1 parent b3fe9a5 commit 40509d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_posts/2013-05-04-specification-testing-coparison.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Now lets talk about functional and acceptance tests for web. Now we know differe
101101

102102
* In web it is not very important to develop pages from how they need to behave. So there all power of Gherkin could not be applied. In this case Gherkin works just as simple translator and nothing more. My decision is to use right things for right purposes.
103103
* As I've pointed out above you also need to know Mink "internals" (API) to proceed some your custom methods.
104-
* Testing web-pages can lead to many ambiguous or redundant Gherkin steps.
104+
* Testing web-pages can lead to many *"Ambiguous"* or *"Redundant"* Behat feature steps.
105105

106106
Of course there are some things to avoid this, but i prefer "easy-to-learn things" in this situation.
107107

@@ -129,7 +129,7 @@ $I->seeLink('Login');
129129
?>
130130
{% endhighlight %}
131131

132-
As you can see it is easy to read, and one really great thing is it is easy to write, because of auto-completion. In Behat when using Gherkin you can get some *"Undefined steps"* errors, just because you mistyped something. And it happens to be annoying.
132+
As you can see it is easy to read, and one really great thing is it is easy to write, because of auto-completion. In Behat when using Gherkin you can get some *"Undefined"* steps errors, just because you mistyped something. And it happens to be annoying.
133133

134134
Codeception bundled with modules for functional and acceptance tests: PhpBrowser (functional tests over curl), Selenium (1,2) for acceptance tests, etc. There are also some nice modules for REST, SOAP and XML-RPC that can help you to test your API.
135135

@@ -139,4 +139,4 @@ Overall, my choice in Codeception is to use "PhpBrowser" module (requires a web-
139139

140140
**Also need to notice that maybe Codeception is not a "true" BDD, unlike Behat. Behat+Gherkin helps you to use and design your application. Codeception helps you to test it nicely.**
141141

142-
*This post was intended to be a start to series. In next posts you will learn how to use newcoming Cest format for testing and integrate Codeception with Continious integration tools. Stay tuned!*
142+
*This post was intended to be a start to series. In next posts you will learn how to use newcoming Cest format for testing and integrate Codeception with Continious integration tools. Stay tuned!*

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