-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
144 lines (127 loc) · 5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Behat — BDD for PHP</title>
<link rel="stylesheet" href="theme/_static/scrolls.css" type="text/css" />
<link rel="stylesheet" href="theme/_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="theme/_static/main.css" type="text/css" />
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lobster" type="text/css" />
</head>
<body>
<header>
<a id="logo-behat" href="http://behat.org">Behat</a>
<ul class="main-menu">
<li class="active">
<a href="http://behat.org">main</a>
</li>
<li>
<a href="http://pear.behat.org">pear</a>
</li>
<li>
<a href="http://extensions.behat.org">extensions</a>
</li>
<li>
<a href="http://docs.behat.org">behat docs</a>
</li>
<li >
<a href="http://mink.behat.org">mink docs</a>
</li>
</ul>
<div class="install body">
<a href='http://behat.org/downloads/behat.phar' class='button phar'>Behat.phar</a>
<a href='http://behat.org/downloads/mink.phar' class='button conseq'>Mink.phar</a>
<a href='https://github.com/Behat' class='button github'>GitHub</a>
</div>
</header>
<section class="main">
<div class="intro">
<h1>
A <span>php</span> framework for testing
your <span>business</span> expectations.
</h1>
</div>
<div class="intro-right">
</div>
<div class="preview">
<h2>
<span>Learn</span> Behavior Driven Development
with <span>Behat</span>
</h2>
<a href="http://knplabs.com/training/behat" class="docs training">
Register<br>for Behat/BDD training
</a>
<a href="http://docs.behat.org/quick_intro.html" class="docs quick-intro">
Read<br>Quick Intro Guide
</a>
<a href="http://docs.behat.org/index.html" class="docs guides">
Read Behat2 Documentation Guides
</a>
</div>
<div class="getting-started last">
<h2>
Getting started with <span>Behat</span> is as easy as
</h2>
<div class="left">
<div><div class="highlight"><pre>
vim composer.json
<hr /><span class="p">{</span>
<span class="s2">"require"</span><span class="o">:</span> <span class="p">{</span>
<span class="s2">"behat/behat"</span><span class="o">:</span> <span class="s2">"~2.5"</span>
<span class="p">},</span>
<span class="s2">"config"</span><span class="o">:</span> <span class="p">{</span>
<span class="s2">"bin-dir"</span><span class="o">:</span> <span class="s2">"bin/"</span>
<span class="p">}</span>
<span class="p">}</span>
<hr />curl http://getcomposer.org/installer | php
php composer.phar install --prefer-source</pre></div></div>
</div>
<div class="right">
<div><div class="highlight"><pre>
bin/behat --init
vim features/your_first.feature
<hr /><span class="k">Feature</span>: Your first feature
In order to start using Behat
As a manager or developer
I need to try
<span class="k">Scenario</span>: Successfully describing scenario
<span class="k">Given</span> there is something
<span class="k">When</span> I do something
<span class="k">Then</span> I should see something
<hr />bin/behat
</pre></div></div>
</div>
</div>
<div style="clear:both"></div>
</section>
<footer>
<dl>
<dt>Docs</dt>
<dd><a href="http://docs.behat.org/quick_intro.html">Behat intro</a></dd>
<dd><a href="http://docs.behat.org/index.html">Behat docs</a></dd>
<dd><a href="http://mink.behat.org/index.html">Mink docs</a></dd>
</dl>
<dl>
<dt>Extensions</dt>
<dd><a href="https://github.com/Behat/Symfony2Extension">Symfony2Extension</a></dd>
<dd><a href="https://github.com/Behat/MinkExtension">MinkExtension</a></dd>
</dl>
<dl>
<dt>Pear</dt>
<dd><a href="http://pear.behat.org/">Behat</a></dd>
<dd><a href="http://pear.behat.org/">Mink</a></dd>
</dl>
<dl>
<dt>GitHub</dt>
<dd><a href="https://github.com/Behat/Behat">Behat</a></dd>
<dd><a href="https://github.com/Behat/Mink">Mink</a></dd>
</dl>
<div class="clear"></div>
<div class="sponsor">
<span>sponsored by</span>
<a class="knp" href="http://www.knplabs.com">knpLabs, Symfony developers</a>
</div>
</footer>
</body>
</html>