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
0eaa7ccc
Commit
0eaa7ccc
authored
Jun 14, 2013
by
Alexander Kryklia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds test for doc generation
parent
1da7bcf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
rakefiles/tests.rake
+12
-1
No files found.
rakefiles/tests.rake
View file @
0eaa7ccc
...
...
@@ -33,6 +33,17 @@ def run_acceptance_tests(system, report_dir, harvest_args)
test_sh
(
django_admin
(
system
,
'acceptance'
,
'harvest'
,
'--debug-mode'
,
'--tag -skip'
,
harvest_args
))
end
# Run documentation tests
desc
"Run documentation tests"
task
:test_docs
do
# Be sure that sphinx can build docs w/o exceptions.
test_message
=
"If test fails, you shoud run %s and look at whole output and fix exceptions.
(You shouldn't fix rst warnings and errors for this to pass, just get rid of exceptions.)"
puts
(
test_message
%
[
"rake doc"
]).
colorize
(
:light_green
)
test_sh
(
'rake doc'
)
puts
(
test_message
%
[
"rake doc[pub]"
]).
colorize
(
:light_green
)
test_sh
(
'rake doc[pub]'
)
end
directory
REPORT_DIR
...
...
@@ -103,7 +114,7 @@ TEST_TASK_DIRS.each do |dir|
end
desc
"Run all tests"
task
:test
task
:test
=>
:test_docs
desc
"Build the html, xml, and diff coverage reports"
task
:coverage
=>
:report_dirs
do
...
...
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