Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
2546d622
Commit
2546d622
authored
May 10, 2013
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test_acceptance command to rake file that runs
all acceptance tests.
parent
c730d43d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
rakefile
+12
-0
No files found.
rakefile
View file @
2546d622
...
...
@@ -243,6 +243,12 @@ def run_tests(system, report_dir, stop_on_failure=true)
end
end
def
run_acceptance_tests
(
system
,
report_dir
)
ENV
[
'NOSE_XUNIT_FILE'
]
=
File
.
join
(
report_dir
,
'acceptance_tests.xml'
)
sh
(
django_admin
(
system
,
'acceptance'
,
'harvest'
,
'--debug-mode'
))
end
TEST_TASK_DIRS
=
[]
task
:fastlms
do
...
...
@@ -265,6 +271,12 @@ end
run_tests
(
system
,
report_dir
,
args
.
stop_on_failure
)
end
# Run acceptance tests
desc
"Run acceptance tests"
task
"test_acceptance"
=>
[
"clean_test_files"
,
"
#{
system
}
:gather_assets:acceptance"
,
:predjango
,
report_dir
]
do
run_acceptance_tests
(
system
,
report_dir
)
end
task
:fasttest
=>
"fasttest_
#{
system
}
"
TEST_TASK_DIRS
<<
system
...
...
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