picuscreative / testcafe-reporter-html

The HTML reporter for TestCafe
https://picuscreative.com/
22 stars 30 forks source link

Conflict using testcafe, doesn't work #24

Closed renanbastos93 closed 4 years ago

renanbastos93 commented 4 years ago

I tried many times but testcafe didn't found tests.

$ npm install testcafe-reporter-html
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN deprecated core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.

> core-js@2.6.9 postinstall /Users/renan.bastos/Desktop/git/orchestration/idns-api/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm WARN saveError ENOENT: no such file or directory, open '/Users/renan.bastos/Desktop/git/orchestration/idns-api/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/renan.bastos/Desktop/git/orchestration/idns-api/package.json'
npm WARN gulp-babel@8.0.0 requires a peer of @babel/core@^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN idns-api No description
npm WARN idns-api No repository field.
npm WARN idns-api No README data
npm WARN idns-api No license field.

+ testcafe-reporter-html@1.4.4
added 660 packages from 778 contributors and audited 4740 packages in 50.169s
found 9 vulnerabilities (1 low, 8 high)
  run `npm audit fix` to fix them, or `npm audit` for details
$ TEST_ENV=stage testcafe 'firefox' functional/main.js -r html
Using locally installed version of TestCafe.
ERROR No tests to run. Either the test files contain no tests or the filter function is too restrictive.
timnederhoff commented 4 years ago

This issue is about TestCafe not finding tests to run. I'm sure you can reproduce this "problem" when run run it without this html reporter.

renanbastos93 commented 4 years ago

stranger, but I have many tests.