--- # 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: common 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: common/static # Paths to library JavaScript files (optional) lib_paths: - js/vendor/jquery.min.js - js/vendor/jasmine-jquery.js - js/vendor/jasmine-imagediff.js - js/vendor/mustache.js - js/vendor/underscore-min.js - js/vendor/backbone-min.js - js/vendor/jquery.timeago.js - js/vendor/URI.min.js - coffee/src/ajax_prefix.js - js/test/add_ajax_prefix.js - js/test/i18n.js - coffee/src/jquery.immediateDescendents.js # Paths to source JavaScript files src_paths: - coffee/src - js/src - js/capa/src # Paths to spec (test) JavaScript files spec_paths: - coffee/spec - js/spec - js/capa/spec # 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/include/exception_*.js # 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/exclude/exception_*.js # Paths to fixture files (optional) # You can access these within JavaScript code # at the URL: document.location.href + "/include/" # plus the path to the file (relative to this YAML file) fixture_paths: - js/fixtures - js/capa/fixtures