BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
51 additions
and
2 deletions
+51
-2
.travis.yml
.travis.yml
+4
-2
active_tab.feature
features/admin/active_tab.feature
+1
-0
broadcast_messages.feature
features/admin/broadcast_messages.feature
+1
-0
groups.feature
features/admin/groups.feature
+1
-0
logs.feature
features/admin/logs.feature
+1
-0
projects.feature
features/admin/projects.feature
+1
-0
users.feature
features/admin/users.feature
+1
-0
active_tab.feature
features/dashboard/active_tab.feature
+1
-0
archived_projects.feature
features/dashboard/archived_projects.feature
+1
-0
dashboard.feature
features/dashboard/dashboard.feature
+1
-0
event_filters.feature
features/dashboard/event_filters.feature
+1
-0
help.feature
features/dashboard/help.feature
+1
-0
issues.feature
features/dashboard/issues.feature
+1
-0
merge_requests.feature
features/dashboard/merge_requests.feature
+1
-0
projects.feature
features/dashboard/projects.feature
+1
-0
search.feature
features/dashboard/search.feature
+1
-0
active_tab.feature
features/profile/active_tab.feature
+1
-0
emails.feature
features/profile/emails.feature
+1
-0
group.feature
features/profile/group.feature
+1
-0
notifications.feature
features/profile/notifications.feature
+1
-0
profile.feature
features/profile/profile.feature
+1
-0
ssh_keys.feature
features/profile/ssh_keys.feature
+1
-0
projects.feature
features/public/projects.feature
+1
-0
public_groups.feature
features/public/public_groups.feature
+1
-0
discover.feature
features/snippets/discover.feature
+1
-0
snippets.feature
features/snippets/snippets.feature
+1
-0
user.feature
features/snippets/user.feature
+1
-0
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