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
iv
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:
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 @
db779388
@admin
Feature
:
Admin active tab
Background
:
Given
I sign in as an admin
...
...
features/admin/broadcast_messages.feature
View file @
db779388
@admin
Feature
:
Admin Broadcast Messages
Background
:
Given
I sign in as an admin
...
...
features/admin/groups.feature
View file @
db779388
@admin
Feature
:
Admin Groups
Background
:
Given
I sign in as an admin
...
...
features/admin/logs.feature
View file @
db779388
@admin
Feature
:
Admin Logs
Background
:
Given
I sign in as an admin
...
...
features/admin/projects.feature
View file @
db779388
@admin
Feature
:
Admin Projects
Background
:
Given
I sign in as an admin
...
...
features/admin/users.feature
View file @
db779388
@admin
Feature
:
Admin Users
Background
:
Given
I sign in as an admin
...
...
features/dashboard/active_tab.feature
View file @
db779388
@dashboard
Feature
:
Dashboard active tab
Background
:
Given
I sign in as a user
...
...
features/dashboard/archived_projects.feature
View file @
db779388
@dashboard
Feature
:
Dashboard with archived projects
Background
:
Given
I sign in as a user
...
...
features/dashboard/dashboard.feature
View file @
db779388
@dashboard
Feature
:
Dashboard
Background
:
Given
I sign in as a user
...
...
features/dashboard/event_filters.feature
View file @
db779388
@dashboard
Feature
:
Event filters
Background
:
Given
I sign in as a user
...
...
features/dashboard/help.feature
View file @
db779388
@dashboard
Feature
:
Help
Background
:
Given
I sign in as a user
...
...
features/dashboard/issues.feature
View file @
db779388
@dashboard
Feature
:
Dashboard Issues
Background
:
Given
I sign in as a user
...
...
features/dashboard/merge_requests.feature
View file @
db779388
@dashboard
Feature
:
Dashboard Merge Requests
Background
:
Given
I sign in as a user
...
...
features/dashboard/projects.feature
View file @
db779388
@dashboard
Feature
:
Dashboard projects
Background
:
Given
I sign in as a user
...
...
features/dashboard/search.feature
View file @
db779388
@dashboard
Feature
:
Dashboard Search
Background
:
Given
I sign in as a user
...
...
features/profile/active_tab.feature
View file @
db779388
@profile
Feature
:
Profile active tab
Background
:
Given
I sign in as a user
...
...
features/profile/emails.feature
View file @
db779388
@profile
Feature
:
Profile Emails
Background
:
Given
I sign in as a user
...
...
features/profile/group.feature
View file @
db779388
@profile
Feature
:
Profile Group
Background
:
Given
I sign in as
"John Doe"
...
...
features/profile/notifications.feature
View file @
db779388
@profile
Feature
:
Profile Notifications
Background
:
Given
I sign in as a user
...
...
features/profile/profile.feature
View file @
db779388
@profile
Feature
:
Profile
Background
:
Given
I sign in as a user
...
...
features/profile/ssh_keys.feature
View file @
db779388
@profile
Feature
:
Profile SSH Keys
Background
:
Given
I sign in as a user
...
...
features/public/projects.feature
View file @
db779388
@public
Feature
:
Public Projects Feature
Background
:
Given
public project
"Community"
...
...
features/public/public_groups.feature
View file @
db779388
@public
Feature
:
Public Projects Feature
Background
:
Given
group
"TestGroup"
has private project
"Enterprise"
...
...
features/snippets/discover.feature
View file @
db779388
@snippets
Feature
:
Discover Snippets
Background
:
Given
I sign in as a user
...
...
features/snippets/snippets.feature
View file @
db779388
@snippets
Feature
:
Snippets Feature
Background
:
Given
I sign in as a user
...
...
features/snippets/user.feature
View file @
db779388
@snippets
Feature
:
User Snippets
Background
:
Given
I sign in as a user
...
...
lib/tasks/spinach.rake
View file @
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
...
...
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