• Solly Ross's avatar
    Support 'requires' Line in Test Runner · 85e89916
    Solly Ross authored
    If the files passed to the '-t' option are all '.js' files (or
    the 'run all tests' option is used) and the '-i' option is not
    passed, all tests will be search for the string
    'require local modules: '.  Only the first instance of this string
    will be used.  Following the colon should be a list of either local
    modules (i.e. files in the '../include/' folder relative to the
    test runner's directory, without the '.js' extension) or paths
    to other Javascript files.  The list of modules and/or files should
    be comma-separated.  These files will then be included in the generated
    HTML file for the appropriate tests as if the '-i' option had been used.
    85e89916
run_from_console.js 9.05 KB