Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
db779388
Commit
db779388
authored
Jun 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7075 from jvanbaarsen/split-spinach-tests
Splitted the Spinach tests to prevent time-outs
parents
08c3c065
e84057da
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
51 additions
and
2 deletions
+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
No files found.
.travis.yml
View file @
db779388
...
@@ -3,12 +3,14 @@ env:
...
@@ -3,12 +3,14 @@ env:
global
:
global
:
-
TRAVIS=true
-
TRAVIS=true
matrix
:
matrix
:
-
TASK=spinach DB=mysql
-
TASK=spinach_project DB=mysql
-
TASK=spinach_other DB=mysql
-
TASK=spec:api DB=mysql
-
TASK=spec:api DB=mysql
-
TASK=spec:feature DB=mysql
-
TASK=spec:feature DB=mysql
-
TASK=spec:other DB=mysql
-
TASK=spec:other DB=mysql
-
TASK=jasmine:ci 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:api DB=postgresql
-
TASK=spec:feature DB=postgresql
-
TASK=spec:feature DB=postgresql
-
TASK=spec:other DB=postgresql
-
TASK=spec:other DB=postgresql
...
...
features/admin/active_tab.feature
View file @
db779388
@admin
Feature
:
Admin active tab
Feature
:
Admin active tab
Background
:
Background
:
Given
I sign in as an admin
Given
I sign in as an admin
...
...
features/admin/broadcast_messages.feature
View file @
db779388
@admin
Feature
:
Admin Broadcast Messages
Feature
:
Admin Broadcast Messages
Background
:
Background
:
Given
I sign in as an admin
Given
I sign in as an admin
...
...
features/admin/groups.feature
View file @
db779388
@admin
Feature
:
Admin Groups
Feature
:
Admin Groups
Background
:
Background
:
Given
I sign in as an admin
Given
I sign in as an admin
...
...
features/admin/logs.feature
View file @
db779388
@admin
Feature
:
Admin Logs
Feature
:
Admin Logs
Background
:
Background
:
Given
I sign in as an admin
Given
I sign in as an admin
...
...
features/admin/projects.feature
View file @
db779388
@admin
Feature
:
Admin Projects
Feature
:
Admin Projects
Background
:
Background
:
Given
I sign in as an admin
Given
I sign in as an admin
...
...
features/admin/users.feature
View file @
db779388
@admin
Feature
:
Admin Users
Feature
:
Admin Users
Background
:
Background
:
Given
I sign in as an admin
Given
I sign in as an admin
...
...
features/dashboard/active_tab.feature
View file @
db779388
@dashboard
Feature
:
Dashboard active tab
Feature
:
Dashboard active tab
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/archived_projects.feature
View file @
db779388
@dashboard
Feature
:
Dashboard with archived projects
Feature
:
Dashboard with archived projects
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/dashboard.feature
View file @
db779388
@dashboard
Feature
:
Dashboard
Feature
:
Dashboard
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/event_filters.feature
View file @
db779388
@dashboard
Feature
:
Event filters
Feature
:
Event filters
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/help.feature
View file @
db779388
@dashboard
Feature
:
Help
Feature
:
Help
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/issues.feature
View file @
db779388
@dashboard
Feature
:
Dashboard Issues
Feature
:
Dashboard Issues
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/merge_requests.feature
View file @
db779388
@dashboard
Feature
:
Dashboard Merge Requests
Feature
:
Dashboard Merge Requests
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/projects.feature
View file @
db779388
@dashboard
Feature
:
Dashboard projects
Feature
:
Dashboard projects
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/dashboard/search.feature
View file @
db779388
@dashboard
Feature
:
Dashboard Search
Feature
:
Dashboard Search
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/profile/active_tab.feature
View file @
db779388
@profile
Feature
:
Profile active tab
Feature
:
Profile active tab
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/profile/emails.feature
View file @
db779388
@profile
Feature
:
Profile Emails
Feature
:
Profile Emails
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/profile/group.feature
View file @
db779388
@profile
Feature
:
Profile Group
Feature
:
Profile Group
Background
:
Background
:
Given
I sign in as
"John Doe"
Given
I sign in as
"John Doe"
...
...
features/profile/notifications.feature
View file @
db779388
@profile
Feature
:
Profile Notifications
Feature
:
Profile Notifications
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/profile/profile.feature
View file @
db779388
@profile
Feature
:
Profile
Feature
:
Profile
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/profile/ssh_keys.feature
View file @
db779388
@profile
Feature
:
Profile SSH Keys
Feature
:
Profile SSH Keys
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/public/projects.feature
View file @
db779388
@public
Feature
:
Public Projects Feature
Feature
:
Public Projects Feature
Background
:
Background
:
Given
public project
"Community"
Given
public project
"Community"
...
...
features/public/public_groups.feature
View file @
db779388
@public
Feature
:
Public Projects Feature
Feature
:
Public Projects Feature
Background
:
Background
:
Given
group
"TestGroup"
has private project
"Enterprise"
Given
group
"TestGroup"
has private project
"Enterprise"
...
...
features/snippets/discover.feature
View file @
db779388
@snippets
Feature
:
Discover Snippets
Feature
:
Discover Snippets
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/snippets/snippets.feature
View file @
db779388
@snippets
Feature
:
Snippets Feature
Feature
:
Snippets Feature
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
features/snippets/user.feature
View file @
db779388
@snippets
Feature
:
User Snippets
Feature
:
User Snippets
Background
:
Background
:
Given
I sign in as a user
Given
I sign in as a user
...
...
lib/tasks/spinach.rake
View file @
db779388
...
@@ -6,7 +6,28 @@ task :spinach do
...
@@ -6,7 +6,28 @@ task :spinach do
%W(rake gitlab:setup)
,
%W(rake gitlab:setup)
,
%W(spinach)
,
%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
|
cmds
.
each
do
|
cmd
|
system
({
'RAILS_ENV'
=>
'test'
,
'force'
=>
'yes'
},
*
cmd
)
or
raise
(
"
#{
cmd
}
failed!"
)
system
({
'RAILS_ENV'
=>
'test'
,
'force'
=>
'yes'
},
*
cmd
)
or
raise
(
"
#{
cmd
}
failed!"
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment