Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
db779388
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
db779388
编写于
6月 05, 2014
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #7075 from jvanbaarsen/split-spinach-tests
Splitted the Spinach tests to prevent time-outs
上级
08c3c065
e84057da
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
51 addition
and
2 deletion
+51
-2
.travis.yml
.travis.yml
+4
-2
features/admin/active_tab.feature
features/admin/active_tab.feature
+1
-0
features/admin/broadcast_messages.feature
features/admin/broadcast_messages.feature
+1
-0
features/admin/groups.feature
features/admin/groups.feature
+1
-0
features/admin/logs.feature
features/admin/logs.feature
+1
-0
features/admin/projects.feature
features/admin/projects.feature
+1
-0
features/admin/users.feature
features/admin/users.feature
+1
-0
features/dashboard/active_tab.feature
features/dashboard/active_tab.feature
+1
-0
features/dashboard/archived_projects.feature
features/dashboard/archived_projects.feature
+1
-0
features/dashboard/dashboard.feature
features/dashboard/dashboard.feature
+1
-0
features/dashboard/event_filters.feature
features/dashboard/event_filters.feature
+1
-0
features/dashboard/help.feature
features/dashboard/help.feature
+1
-0
features/dashboard/issues.feature
features/dashboard/issues.feature
+1
-0
features/dashboard/merge_requests.feature
features/dashboard/merge_requests.feature
+1
-0
features/dashboard/projects.feature
features/dashboard/projects.feature
+1
-0
features/dashboard/search.feature
features/dashboard/search.feature
+1
-0
features/profile/active_tab.feature
features/profile/active_tab.feature
+1
-0
features/profile/emails.feature
features/profile/emails.feature
+1
-0
features/profile/group.feature
features/profile/group.feature
+1
-0
features/profile/notifications.feature
features/profile/notifications.feature
+1
-0
features/profile/profile.feature
features/profile/profile.feature
+1
-0
features/profile/ssh_keys.feature
features/profile/ssh_keys.feature
+1
-0
features/public/projects.feature
features/public/projects.feature
+1
-0
features/public/public_groups.feature
features/public/public_groups.feature
+1
-0
features/snippets/discover.feature
features/snippets/discover.feature
+1
-0
features/snippets/snippets.feature
features/snippets/snippets.feature
+1
-0
features/snippets/user.feature
features/snippets/user.feature
+1
-0
lib/tasks/spinach.rake
lib/tasks/spinach.rake
+21
-0
未找到文件。
.travis.yml
浏览文件 @
db779388
...
...
@@ -3,12 +3,14 @@ env:
global
:
-
TRAVIS=true
matrix
:
-
TASK=spinach DB=mysql
-
TASK=spinach_project DB=mysql
-
TASK=spinach_other DB=mysql
-
TASK=spec:api DB=mysql
-
TASK=spec:feature DB=mysql
-
TASK=spec:other DB=mysql
-
TASK=jasmine:ci DB=mysql
-
TASK=spinach DB=postgresql
-
TASK=spinach_project DB=postgresql
-
TASK=spinach_other DB=postgresql
-
TASK=spec:api DB=postgresql
-
TASK=spec:feature DB=postgresql
-
TASK=spec:other DB=postgresql
...
...
features/admin/active_tab.feature
浏览文件 @
db779388
@admin
Feature
:
Admin active tab
Background
:
Given
I sign in as an admin
...
...
features/admin/broadcast_messages.feature
浏览文件 @
db779388
@admin
Feature
:
Admin Broadcast Messages
Background
:
Given
I sign in as an admin
...
...
features/admin/groups.feature
浏览文件 @
db779388
@admin
Feature
:
Admin Groups
Background
:
Given
I sign in as an admin
...
...
features/admin/logs.feature
浏览文件 @
db779388
@admin
Feature
:
Admin Logs
Background
:
Given
I sign in as an admin
...
...
features/admin/projects.feature
浏览文件 @
db779388
@admin
Feature
:
Admin Projects
Background
:
Given
I sign in as an admin
...
...
features/admin/users.feature
浏览文件 @
db779388
@admin
Feature
:
Admin Users
Background
:
Given
I sign in as an admin
...
...
features/dashboard/active_tab.feature
浏览文件 @
db779388
@dashboard
Feature
:
Dashboard active tab
Background
:
Given
I sign in as a user
...
...
features/dashboard/archived_projects.feature
浏览文件 @
db779388
@dashboard
Feature
:
Dashboard with archived projects
Background
:
Given
I sign in as a user
...
...
features/dashboard/dashboard.feature
浏览文件 @
db779388
@dashboard
Feature
:
Dashboard
Background
:
Given
I sign in as a user
...
...
features/dashboard/event_filters.feature
浏览文件 @
db779388
@dashboard
Feature
:
Event filters
Background
:
Given
I sign in as a user
...
...
features/dashboard/help.feature
浏览文件 @
db779388
@dashboard
Feature
:
Help
Background
:
Given
I sign in as a user
...
...
features/dashboard/issues.feature
浏览文件 @
db779388
@dashboard
Feature
:
Dashboard Issues
Background
:
Given
I sign in as a user
...
...
features/dashboard/merge_requests.feature
浏览文件 @
db779388
@dashboard
Feature
:
Dashboard Merge Requests
Background
:
Given
I sign in as a user
...
...
features/dashboard/projects.feature
浏览文件 @
db779388
@dashboard
Feature
:
Dashboard projects
Background
:
Given
I sign in as a user
...
...
features/dashboard/search.feature
浏览文件 @
db779388
@dashboard
Feature
:
Dashboard Search
Background
:
Given
I sign in as a user
...
...
features/profile/active_tab.feature
浏览文件 @
db779388
@profile
Feature
:
Profile active tab
Background
:
Given
I sign in as a user
...
...
features/profile/emails.feature
浏览文件 @
db779388
@profile
Feature
:
Profile Emails
Background
:
Given
I sign in as a user
...
...
features/profile/group.feature
浏览文件 @
db779388
@profile
Feature
:
Profile Group
Background
:
Given
I sign in as
"John Doe"
...
...
features/profile/notifications.feature
浏览文件 @
db779388
@profile
Feature
:
Profile Notifications
Background
:
Given
I sign in as a user
...
...
features/profile/profile.feature
浏览文件 @
db779388
@profile
Feature
:
Profile
Background
:
Given
I sign in as a user
...
...
features/profile/ssh_keys.feature
浏览文件 @
db779388
@profile
Feature
:
Profile SSH Keys
Background
:
Given
I sign in as a user
...
...
features/public/projects.feature
浏览文件 @
db779388
@public
Feature
:
Public Projects Feature
Background
:
Given
public project
"Community"
...
...
features/public/public_groups.feature
浏览文件 @
db779388
@public
Feature
:
Public Projects Feature
Background
:
Given
group
"TestGroup"
has private project
"Enterprise"
...
...
features/snippets/discover.feature
浏览文件 @
db779388
@snippets
Feature
:
Discover Snippets
Background
:
Given
I sign in as a user
...
...
features/snippets/snippets.feature
浏览文件 @
db779388
@snippets
Feature
:
Snippets Feature
Background
:
Given
I sign in as a user
...
...
features/snippets/user.feature
浏览文件 @
db779388
@snippets
Feature
:
User Snippets
Background
:
Given
I sign in as a user
...
...
lib/tasks/spinach.rake
浏览文件 @
db779388
...
...
@@ -6,7 +6,28 @@ task :spinach do
%W(rake gitlab:setup)
,
%W(spinach)
,
]
run_commands
(
cmds
)
end
desc
"GITLAB | Run project spinach features"
task
:spinach_project
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(spinach --tags ~@admin,~@dashboard,~@profile,~@public,~@snippets)
,
]
run_commands
(
cmds
)
end
desc
"GITLAB | Run other spinach features"
task
:spinach_other
do
cmds
=
[
%W(rake gitlab:setup)
,
%W(spinach --tags @admin,@dashboard,@profile,@public,@snippets)
,
]
run_commands
(
cmds
)
end
def
run_commands
(
cmds
)
cmds
.
each
do
|
cmd
|
system
({
'RAILS_ENV'
=>
'test'
,
'force'
=>
'yes'
},
*
cmd
)
or
raise
(
"
#{
cmd
}
failed!"
)
end
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录