簡體   English   中英

Behavex - 無法使用 behavex 命令執行功能文件

[英]Behavex - Unable to execute a feature file with behavex command

我已經安裝了最新版本的 behavex package。我正在嘗試執行一個功能文件。 出現以下錯誤? 任何人都可以讓我知道我們缺少什么 arguments 嗎? 我們可以使用 behavex 來執行功能文件嗎?

錯誤:

behavex -c config\test.json  features/scripts/Data_services/qual_REST_test_172494_Create_manual_snapshot.feature 

usage: behavex [-h] [-c CONFIG] [-t TAGS] [-o OUTPUT_FOLDER] [-d] [--no-color]
[--color] [-D DEFINE] [--exclude EXCLUDE] [-i INCLUDE]
[--name NAME] [--no-capture] [--capture] [--no-capture-stderr]
[--capture-stderr] [--no-logcapture] [--log-capture] [-ns]
[--stop] [--tags-help]
[--logging-level {CRITICAL,ERROR,WARNING,INFO,DEBUG,NOTSET}]
[--parallel-processes PARALLEL_PROCESSES]
[--parallel-scheme {feature,scenario}]
[-ip [INCLUDE_PATHS [INCLUDE_PATHS ...]]] [-rf RERUN_FAILURES]

behavex: error: unrecognized arguments: features/scripts/Data_services/qual_REST_test_172494_Create_manual_snapshot.feature

目前 BehaveX 正在使用 TAG,尚未使用功能文件 PATH。

很可能在即將發布的版本(當前是 1.6.0)中,它將開始提供對功能文件 PATH 的支持。

在您的執行中,您應該使用“-t TAG”參數。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM