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
Tatuya Kamada
gitlab-ce
Commits
e84057da
Commit
e84057da
authored
Jun 04, 2014
by
Jeroen van Baarsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Splitted the Spinach tests to prevent time-outs
Signed-off-by:
Jeroen van Baarsen
<
jeroenvanbaarsen@gmail.com
>
parent
a76bf07a
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 @
e84057da
...
...
@@ -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
View file @
e84057da
@admin
Feature
:
Admin active tab
Background
:
Given
I sign in as an admin
...
...
features/admin/broadcast_messages.feature
View file @
e84057da
@admin
Feature
:
Admin Broadcast Messages
Background
:
Given
I sign in as an admin
...
...
features/admin/groups.feature
View file @
e84057da
@admin
Feature
:
Admin Groups
Background
:
Given
I sign in as an admin
...
...
features/admin/logs.feature
View file @
e84057da
@admin
Feature
:
Admin Logs
Background
:
Given
I sign in as an admin
...
...
features/admin/projects.feature
View file @
e84057da
@admin
Feature
:
Admin Projects
Background
:
Given
I sign in as an admin
...
...
features/admin/users.feature
View file @
e84057da
@admin
Feature
:
Admin Users
Background
:
Given
I sign in as an admin
...
...
features/dashboard/active_tab.feature
View file @
e84057da
@dashboard
Feature
:
Dashboard active tab
Background
:
Given
I sign in as a user
...
...
features/dashboard/archived_projects.feature
View file @
e84057da
@dashboard
Feature
:
Dashboard with archived projects
Background
:
Given
I sign in as a user
...
...
features/dashboard/dashboard.feature
View file @
e84057da
@dashboard
Feature
:
Dashboard
Background
:
Given
I sign in as a user
...
...
features/dashboard/event_filters.feature
View file @
e84057da
@dashboard
Feature
:
Event filters
Background
:
Given
I sign in as a user
...
...
features/dashboard/help.feature
View file @
e84057da
@dashboard
Feature
:
Help
Background
:
Given
I sign in as a user
...
...
features/dashboard/issues.feature
View file @
e84057da
@dashboard
Feature
:
Dashboard Issues
Background
:
Given
I sign in as a user
...
...
features/dashboard/merge_requests.feature
View file @
e84057da
@dashboard
Feature
:
Dashboard Merge Requests
Background
:
Given
I sign in as a user
...
...
features/dashboard/projects.feature
View file @
e84057da
@dashboard
Feature
:
Dashboard projects
Background
:
Given
I sign in as a user
...
...
features/dashboard/search.feature
View file @
e84057da
@dashboard
Feature
:
Dashboard Search
Background
:
Given
I sign in as a user
...
...
features/profile/active_tab.feature
View file @
e84057da
@profile
Feature
:
Profile active tab
Background
:
Given
I sign in as a user
...
...
features/profile/emails.feature
View file @
e84057da
@profile
Feature
:
Profile Emails
Background
:
Given
I sign in as a user
...
...
features/profile/group.feature
View file @
e84057da
@profile
Feature
:
Profile Group
Background
:
Given
I sign in as
"John Doe"
...
...
features/profile/notifications.feature
View file @
e84057da
@profile
Feature
:
Profile Notifications
Background
:
Given
I sign in as a user
...
...
features/profile/profile.feature
View file @
e84057da
@profile
Feature
:
Profile
Background
:
Given
I sign in as a user
...
...
features/profile/ssh_keys.feature
View file @
e84057da
@profile
Feature
:
Profile SSH Keys
Background
:
Given
I sign in as a user
...
...
features/public/projects.feature
View file @
e84057da
@public
Feature
:
Public Projects Feature
Background
:
Given
public project
"Community"
...
...
features/public/public_groups.feature
View file @
e84057da
@public
Feature
:
Public Projects Feature
Background
:
Given
group
"TestGroup"
has private project
"Enterprise"
...
...
features/snippets/discover.feature
View file @
e84057da
@snippets
Feature
:
Discover Snippets
Background
:
Given
I sign in as a user
...
...
features/snippets/snippets.feature
View file @
e84057da
@snippets
Feature
:
Snippets Feature
Background
:
Given
I sign in as a user
...
...
features/snippets/user.feature
View file @
e84057da
@snippets
Feature
:
User Snippets
Background
:
Given
I sign in as a user
...
...
lib/tasks/spinach.rake
View file @
e84057da
...
...
@@ -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
...
...
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