[Error] online tests are not running
See original GitHub issueTests are failing online. This coverage
was introduced by @promatik https://github.com/Laravel-Backpack/CRUD/commit/b36e82fea410ce1efcc644764f1a70b5e73a689a
In my local development it uses PHPUnit 9.x and it’s working as expected, but as you can see in online it uses 8.5 (it probably depends on the tested version of php).
So my guess here is that this last change is not compatible with earlier versions of phpunit but we allow them in composer.json "phpunit/phpunit": "~8.0|~7.0|~9.0",
I think before this change, phpunit complained about some failing schema on local but passed tests online and local so we just ignored the warning.
Should we revert it ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Tests not running in Test Explorer - visual studio
You can view the error-output of your test runner by opening the Output panel (view-->output) and choosing "tests" from the "Show output from"...
Read more >How To Resolve Issue Of Test Project Not Running The Unit ...
So here in this article, I am going to share the issue and the solution to how I fixed it. Even though there...
Read more >Why Your JUnit 5 Tests Are Not Running Under Maven
There is a very common issue preventing your JUnit 5 tests from running under Maven. In this post, I explain why and provide...
Read more >Could not run tests on class <classid> because: connection ...
I'm constantly unable to complete tests because of this error in our sandboxes. If I keep running them over and over they usually...
Read more >Could not run tests on class - Salesforce Stack Exchange
Wait a few hours and try again. If it still fails, open a case. It does sound to me that your org has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done! We now have online tests again, working thanks to Github Actions. Merged to
master
.Made quite a few minor changes so @pxpm / @promatik let me know if by some miracle they stop working for you on localhost. They shouldn’t… as we’re now testing on a lot more combinations. But we are only testing on Ubuntu for now so… you never know.
We should be good though:
Running well on windows too;