js_test.yml 2.73 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
---
# JavaScript test suite description
#
#
# To run all the tests and print results to the console:
#
#   js-test-tool run TEST_SUITE --use-firefox
#
# where `TEST_SUITE` is this file.
#
#
# To run the tests in your default browser ("dev mode"):
#
#   js-test-tool dev TEST_SUITE
#

test_suite_name: lms

test_runner: jasmine

# Path prepended to source files in the coverage report (optional)
# For example, if the source path
# is "src/source.js" (relative to this YAML file)
# and the prepend path is "base/dir"
# then the coverage report will show
# "base/dir/src/source.js"
prepend_path: lms/static

# Paths to library JavaScript files (optional)
lib_paths:
polesye committed
31
    - xmodule_js/common_static/js/test/i18n.js
32 33
    - xmodule_js/common_static/coffee/src/ajax_prefix.js
    - xmodule_js/common_static/coffee/src/logger.js
34
    - xmodule_js/common_static/js/vendor/jasmine-jquery.js
polesye committed
35
    - xmodule_js/common_static/js/vendor/jasmine-imagediff.js
36 37
    - xmodule_js/common_static/js/vendor/require.js
    - js/RequireJS-namespace-undefine.js
38 39 40 41
    - xmodule_js/common_static/js/vendor/jquery.min.js
    - xmodule_js/common_static/js/vendor/jquery-ui.min.js
    - xmodule_js/common_static/js/vendor/jquery.cookie.js
    - xmodule_js/common_static/js/vendor/flot/jquery.flot.js
42
    - xmodule_js/common_static/js/vendor/CodeMirror/codemirror.js
43
    - xmodule_js/common_static/js/vendor/URI.min.js
44 45
    - xmodule_js/common_static/coffee/src/jquery.immediateDescendents.js
    - xmodule_js/common_static/coffee/src/xblock
46 47 48
    - xmodule_js/src/capa/
    - xmodule_js/src/video/
    - xmodule_js/src/xmodule.js
49 50 51 52

# Paths to source JavaScript files
src_paths:
    - coffee/src
53
    - js/src
54 55 56 57

# Paths to spec (test) JavaScript files
spec_paths:
    - coffee/spec
58
    - js/spec
59 60 61 62 63 64 65 66 67 68 69 70

# Paths to fixture files (optional)
# The fixture path will be set automatically when using jasmine-jquery.
# (https://github.com/velesin/jasmine-jquery)
#
# You can then access fixtures using paths relative to
# the test suite description:
#
#   loadFixtures('path/to/fixture/fixture.html');
#
fixture_paths:
    - coffee/fixtures
71
    - js/fixtures
72 73 74 75 76

# Regular expressions used to exclude *.js files from
# appearing in the test runner page.
# Files are included by default, which means that they
# are loaded using a <script> tag in the test runner page.
77
# When loading many files, this can be slow, so
78 79 80 81 82 83 84 85 86 87 88
# exclude any files you don't need.
#exclude_from_page:
#    - path/to/lib/exclude/*

# Regular expression used to guarantee that a *.js file
# is included in the test runner page.
# If a file name matches both `exclude_from_page` and
# `include_in_page`, the file WILL be included.
# You can use this to exclude all files in a directory,
# but make an exception for particular files.
#include_in_page:
89
#    - path/to/lib/include/*