FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
codeception.github.com/install.html at master · ScottHuber/codeception.github.com · GitHub
ScottHuber
/
codeception.github.com
Public
forked from
Codeception/codeception.github.com
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
codeception.github.com
/
install.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
128 lines (96 loc) · 2.77 KB
Breadcrumbs
codeception.github.com
/
install.html
Copy path
File metadata and controls
128 lines (96 loc) · 2.77 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
---
layout: bootstrap
title: Codeception Installation
---
<
div
class
="
page-header
"
>
<
div
class
="
pull-right well
"
>
<
h4
>
Requirements
</
h4
>
<
strong
>
<
div
>
PHP 5.3
</
div
>
<
div
>
CURL enabled
</
div
>
</
strong
>
</
div
>
<
h1
>
Installation
</
h1
>
</
div
>
<
div
class
="
row
"
>
<
div
class
="
col-sm-8 col-lg-8
"
>
<
div
class
="
page-header
"
>
<
div
class
="
pull-right
"
>
<
a
class
="
btn btn-lg btn-warning
"
href
="
/quickstart
"
>
QuickStart Guide →
</
a
>
</
div
>
<
h4
>
Follow QuickStart Guide to Install and execute your first test in 6 easy
steps.
</
h4
>
</
div
>
</
div
>
</
div
>
<
div
class
="
row
"
>
<
div
class
="
col-sm-6 col-lg-6
"
>
<
div
class
="
well
"
>
<
h3
>
Phar
</
h3
>
<
a
class
="
btn btn-lg btn-success
"
href
="
/thanks
"
>
<
span
class
="
btn-label
"
>
Download Codeception
</
span
>
</
a
>
<
p
>
Grab Codeception phar executable
</
p
>
<
div
>
<
p
>
<
pre
>
<
code
>
wget http://codeception.com/codecept.phar .
</
code
>
</
pre
>
</
p
>
</
div
>
<
div
class
="
alert alert-warning
"
>
Codeception 2.0 and higher requires PHP 5.4 installed.
<
a
href
="
/builds
"
>
Download latest version of Codeception 1.8.x
</
a
>
if you run PHP 5.3
</
div
>
<
p
>
Prepare tests directory and configs
</
p
>
<
div
>
<
p
>
<
pre
>
<
code
>
php codecept.phar bootstrap
</
code
>
</
pre
>
</
p
>
</
div
>
</
div
>
</
div
>
<
div
class
="
col-sm-6 col-lg-6
"
>
<
div
>
<
h3
>
Composer
</
h3
>
<
p
>
Install a
<
a
href
="
http://getcomposer.org
"
>
Composer
</
a
>
to your project's root
</
p
>
<
p
>
Run
</
p
>
<
p
>
<
pre
>
<
code
>
php composer.phar require "codeception/codeception:*"
</
code
>
</
pre
>
</
p
>
<
p
>
From now on Codeception (with installed PHPUnit) can be run as:
</
p
>
<
p
>
<
pre
>
<
code
>
vendor/bin/codecept
</
code
>
</
pre
>
</
p
>
<
p
>
Initialize your testing environment with
</
p
>
<
p
>
<
pre
>
<
code
>
vendor/bin/codecept bootstrap
</
code
>
</
pre
>
</
p
>
</
div
>
</
div
>
</
div
>
<
hr
>
<
div
class
="
row page
"
>
<
h3
>
Git
</
h3
>
<
p
>
Alternative installation method for bugfixing, contributions and hacking
</
p
>
<
p
>
Clone from GitHub:
</
p
>
<
pre
>
<
code
>
git clone git@github.com:Codeception/Codeception.git
</
code
>
</
pre
>
<
p
>
Install dependencies with Composer
</
p
>
<
p
>
<
pre
>
<
code
>
cd Codeception
curl -s http://getcomposer.org/installer | php
php composer.phar install
</
code
>
</
pre
>
</
p
>
<
p
>
Execute bootstrap, specifying path to your directory.
</
p
>
<
pre
>
<
code
>
php codecept bootstrap /path/to/my/project
</
code
>
</
pre
>
<
p
>
To
<
strong
>
run tests
</
strong
>
use
<
code
>
-c
</
code
>
option for specifing path.
</
p
>
<
pre
>
<
code
>
php codecept run -c /path/to/my/project
</
code
>
</
pre
>
<
p
>
If you want to build phar package you need to install
<
a
href
="
http://robo.li
"
>
Robo Task Runner
</
a
>
and execute
<
code
>
robo build:phar
</
code
>
</
p
>
</
p
>
<
p
>
Don't forget to send Pull Requests!
</
p
>
</
div
>
Back
|
FazBrowse Home
|
New Git URL