js_test_coffee.yml 2.75 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 31 32
---
# LMS CoffeeScript tests that are not yet using RequireJS.
#
#
# 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-coffee

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:
    - xmodule_js/common_static/js/test/i18n.js
    - xmodule_js/common_static/coffee/src/ajax_prefix.js
33
    - xmodule_js/common_static/js/src/logger.js
34 35 36 37 38 39 40 41 42 43 44
    - xmodule_js/common_static/js/vendor/jasmine-jquery.js
    - xmodule_js/common_static/js/vendor/jasmine-imagediff.js
    - xmodule_js/common_static/js/vendor/require.js
    - js/RequireJS-namespace-undefine.js
    - 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
    - xmodule_js/common_static/js/vendor/CodeMirror/codemirror.js
    - xmodule_js/common_static/js/vendor/URI.min.js
    - xmodule_js/common_static/coffee/src/jquery.immediateDescendents.js
45
    - xmodule_js/common_static/js/xblock
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
    - xmodule_js/common_static/coffee/src/xblock
    - xmodule_js/src/capa/
    - xmodule_js/src/video/
    - xmodule_js/src/xmodule.js

# Paths to source JavaScript files
src_paths:
    - coffee/src

# Paths to spec (test) JavaScript files
spec_paths:
    - coffee/spec

# 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

# 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.
# When loading many files, this can be slow, so
# 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:
#    - path/to/lib/include/*