intern 运行 foo 和 bar 测试而不被调用

intern running foo and bar tests without being called

我已经为 intern (testing framework) 创建了自动化测试,每当我 运行 通过 selenium-server 测试时,它 运行 是一系列 foobar 不在我的测试目录中的单元测试。这些测试 运行 来自 intern 或 selenium 目录?我无法弄清楚如何停止或删除这些测试。有什么建议吗?

这是我的 intern.js 文件,没有为单元测试定义任何 suites

 /* Name of the tunnel class to use for WebDriver tests. */
 tunnel: "NullTunnel",
    
 loaderOptions: {
     /* Packages that should be registered with the loader in each testing environment */
 },
    
 /* Unit test suite(s) to run in each browser */
    suites: [ /**/ ],

 /* Functional test suite(s) to execute against each browser once unit tests are completed */
 functionalSuites: [ "src/test/intern/integration/ITIndexHtml" ],

 /* A regular expression matching URLs to files that should not be included in code coverage analysis */
 excludeInstrumentation: /^(?:tests|node_modules)\//
});

功能测试期间最初运行的测试是功能测试。浏览器并不都具有相同级别的测试支持,有时它们实现测试功能的方式也略有不同。实习生测试远程浏览器以确定哪些有效,哪些无效,然后尽可能尝试提供一致的行为(在不同浏览器之间保持一致)。