이 게시물은 Is it possible to migrate from cucumber-jvm to QAF?에 대한 쿼리입니다. testNG로 실행하는 방법을 알려주십시오. 지금 나는 내가 CucumberRunner.java을 실행하려고 할 때 그러나 그것은 내가 application.properties 것을 보장 한testNG를 사용하여 cucumber-jvm에서 QAF로 마이그레이션하는 방법은 무엇입니까?
log4j:WARN No such property [follow] in org.apache.log4j.FileAppender.
[ConfigurationManager] - ISFW build info: {qaf-Type=core, qaf-Revision=9-RC1, qaf-Version=2.1, qaf-Build-Time=23-Sep-2016 12:16:17}
[ConfigurationManager] - Resource dir: C:\Users\Kalyankar\Downloads\qaf-blank-project-maven-masterDec\qaf-blank-project-maven-master\resources. Found property files to load: 6
[ConfigurationManager] - Resource dir: C:\Users\Kalyankar\Downloads\qaf-blank-project-maven-masterDec\qaf-blank-project-maven-master\resources. Found property files to load: 0
[TestNG] Running:
C:\Users\Kalyankar\AppData\Local\Temp\testng-eclipse-1055468291\testng-customsuite.xml
No features found at [classpath:com/qmetry/qaf/examples/cucumber/runners]
0 Scenarios
0 Steps
0m0.000s
PASSED: run_cukes
Runs Cucumber Features
===============================================
Default test
Tests run: 1, Failures: 0, Skips: 0
===============================================
===============================================
Default suite
Total tests run: 1, Failures: 0, Skips: 0
===============================================
[TestNG] Time taken by [email protected]: 18 ms
[TestNG] Time taken by [email protected]: 18 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 30 ms
[TestNG] Time taken by [email protected]: 35 ms
[TestNG] Time taken by [email protected]: 224 ms
[TestNG] Time taken by [email protected]: 131 ms
모든 기능을 찾을 수없는 링크
https://github.com/qmetry/qaf/releases/download/2.1.9-RC2/QAFGherkin.zip
아래에서 예를 구성한 값도 step.provider.pkg = com.qmetry.qaf.examples.steps.cucumberthen으로 설정됩니다. 나중에 필자는 feature 파일을 com.qmetry.qaf.examples.cucumber.runners 패키지로 옮겼습니다. 패키지 &을 실행하십시오. 불운. 어떤 도움이라도 대단히 감사 할 것입니다. 미리 감사드립니다.
예제 프로젝트를 다운로드했으며 QAFPerfectoCucumberFormatter.java-ex 파일이 있습니다. CucumberRunner.java에 대한 플러그인 역할을하지만 CucumberRunner.java를 실행하려고하면 cucumber.runtime.CucumberException과 함께 실패합니다. com.qmetry.qaf.examples.cucumber.runners 플러그인 클래스를로드 할 수 없습니다. QAFPerfectoCucumber Formatter는 QAFPerfectoCucumberFormatter.java-ex의 이름을 QAFPerfectoCucumberFormatter.java로 바꿔야하는지 알려주실 수 있습니까? 어떻게 custom cucumberrunner를 실행합니까? 어떤 도움을 주셔서 감사합니다 –
왜 오이 러너를 사용하고 싶습니까? 최신 qaf에서 필요하지 않습니다. [qaf-blank-project] (https://github.com/qmetry/qaf-blank-project) 또는 [qaf-blank-project-maven] (https://github.com/qmetry/qaf-blank-project)을 참조하십시오. 프로젝트 - 메이븐) – user861594
러너 폴더를 삭제할 수 있습니다. 사용하지 않는 코드이므로 정리하지 않아도됩니다. – user861594