question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Error] online tests are not running

See original GitHub issue

image

Tests 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tabacitucommented, Jan 19, 2021

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: Screenshot 2021-01-19 at 14 03 55

0reactions
promatikcommented, Jan 20, 2021

Running well on windows too;

OK, but incomplete, skipped, or risky tests!
Tests: 243, Assertions: 367, Incomplete: 19, Risky: 1.
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found