2012-04-20 3 views
0

jsTestDriver로 javascript 테스트를 실행하려고합니다. 테스트를 시작할 때 예외가 발생했습니다. jsTestDriver의의 .conf 파일 인수에 하나의 파일 경로, 예를 들어이 포함 된 경우jsTestDriver : 테스트를 실행할 때 org.jvyaml.ParserException

exception description

문제가 발생하지 않습니다

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: "/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" 
관련 문제