Wanted to get some low hanging fruit tickets done for Questlog. Well I also decided to create more robust testing and now I finished the first task after 3 minutes and fighting Pest for 27 minutes now.
Why in all seven hells is Game::factory()->count(5)->create(); not creating 5 games? It's always 2 or 3. Never 5. This is absolutely infuriating…
I just wanted to get my list shorter and don't break stuff while I do.
The fun part? Also creating all 5 games manually fails. Without any log or something like that…
I'm glad I marked some tasks as "low hanging fruit" while I had no time or energy to work on Questlog.
This way I was able to complete 5 small tasks, while my child slept, that were in my head for a long time, as I didn't need to search for issues but had a list I just could work through.
@kaiserkiwi You're in good company, mate! This kind of thing happens to all of us at some point. While working on a search engine issue at my former job, I spent probably 2 hours on a bug like this, only to stumble upon the fact that I forgot to clear a secondary filter out of the gui tool that I was using to do test searches. :facepalm:
Glad you figured out your "filtering" issue! They can be really frustrating.
Gargh, I got really used to Laravel Dusk letting me write super simple browser testing tests with #phpunit / #pest but now I need that kinda test in a non-Laravel #php project.
And to start of Monday, we have "This database engine does not support fulltext search operations.” when running local tests in sqlite, even though we have verified that fts5 is enabled.
@emd Kind of nice reassurance that my tests found 2 errors already. Both things I had worked around in fulltext searches due to sqlite not handling fulltext in the same way as MySQL.
Thanks for the tips and reassurance. The small things made a difference today.
Using Pest to run tests on your Laravel/Livewire site? Do you get the dreaded “Latest compiled component path not found” error? To help find the real error, add $this->withoutExceptionHandling(); to your test method. You should now see the actual error causing the issue.
Vorgestern - das habe ich bisher unterschlagen - gab es zweite neue Spiel, was ich diese Woche gespielt habe. #Brettspiele habe ich bisher gekauft, wenn es sie irgendwo gab. Dies ist der erste an mich ausgelieferte Crowdfunding-Projekt. Es ist das Spiel #Pest, bei dem man einen Pestdoktor durch ein fiktives Mittelalterland bewegt, um Pestkranke einzusammeln. Das Spiel kann mit einem oder bis zu 5 Personen das Spiel spielen. Wir haben es mit 5 getan - nie wieder! 1/6 @board@brettspiele
Any #WordPress folks using #pest to do feature testing of #WooCommerce subscriptions and memberships features and cart/checkout/account workflows? Looking for examples.