Adriano Fukuda
Adriano Fukuda

Reputation: 68

How to execute command lines TestCafe in a project with Cucumber JS?

I´m using Cucumber Js in a TestCafe project. I want to execute the cucumber feature and use testcafe's record function.

In a TestCafe I execute tests with the command line interface "testcafe chrome test.js --video artifacts/videos".

When use Cucumber Js execute with the command line interface "cucumber-js features/my_feature.feature".

Does anyone know what the CLI would look like?

Upvotes: 2

Views: 341

Answers (1)

Andrey Belym
Andrey Belym

Reputation: 2903

Currently, it's not possible to use TestCafe CLI to run CucumberJS tests. Current TestCafe-Cucumber integrations use TestCafe API to translate Cucumber feature files to TestCafe actions and heavily integrate into CucumberJS. Issue #2835 will enable running CucumberJS tests from TestCafe CLI out of the box.

Upvotes: 2

Related Questions