mercredi 1 avril 2020

running tests cucumber-js from browser

I have a project to run tests, I run tests npm run test.

This is example project.json

"scripts": {
  "test": "cucumberjs test/features/ -f summary -f json:test/report/cucumber_report.json"
}

Is it possible to run these tests from the website level? and have a preview of running tests?

<button onClick={()=> runTest()}>run test</button>

Aucun commentaire:

Enregistrer un commentaire