2012-04-20 88 views
0

我嘗試使用jsTestDriver運行javascript測試。當我開始測試時,發生異常。jsTestDriver:運行測試時出現org.jvyaml.ParserException

exception description

時jsTestDriver的.conf文件只包含一個args中的文件路徑,例如,不會發生此問題:

plugin: 
- name: "coverage" 
    jar: "plugins/coverage-1.3.4.b.jar" 
    module: "com.google.jstestdriver.coverage.CoverageModule" 
    args: "/examplepath/data/jsdevelopment/src/webhome/bp2011/js/external/jquery.js" 

timeout: 60 

回答

0

我的問題是,我在args中包含引號拆分的路徑

args: "/examplepath/data/jsdevelopment/src/webhome/bp2011/js/external/jquery.js", "/examplepath2/data/jsdevelopment/src/webhome/bp2011/js/external/jquery.js" 

的解決方案是:

args: "/examplepath/data/jsdevelopment/src/webhome/bp2011/js/external/jquery.js,/examplepath2/data/jsdevelopment/src/webhome/bp2011/js/external/jquery.js" 
相關問題