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…
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.
I recently ran into an issue with a flaky test in our CI process. Most of the time, it would pass, but when it failed, it meant running all the tests again and hoping it would pass on the next try. When I was finally fed up enough with the waiting, I...
Any #WordPress folks using #pest to do feature testing of #WooCommerce subscriptions and memberships features and cart/checkout/account workflows? Looking for examples.
Are there examples of getting pretty output from #phpunit for custom assertions?
Projects like #Pest prove you can do a lot with phpunit’s output. I’m hoping it doesn’t take that much work to hook into correctly displaying information when an assertion fails, though.
So, two questions:
If I write a custom assertion, can I be creative with how failures display?
Can I hook into the built-in assertions and conditionally tweak their display?
Anyone have an idea what is digging divots in our front lawn? These holes are everywhere. It looks like a dog did it, but it's only our front yard, no neighboring yards. Back yard is unaffected. The strip on the other side of the driveway is also untouched. #lawn#gardening#pest
>Resources will be reallocated to slowing the spread of the #pest
>Non-compliance from #beekeepers and illegal #hive movement was a major factor in the failed eradication effort
>#Government and #industry groups made the unanimous decision to move to a #management approach
New plugin for #PHP#Pest to give you type coverage right in Pest. Simply composer require pestphp/pest-plugin-type-coverage —dev and then run Pest with pest —type-coverage -min=100 Perhaps you won’t need #PHPStan or #LaraStan anymore.
In Southeast #Alaska when the Fireweed nears the end of the blooming cycle, we all know that means the end of summer is near. It seems a bit harsh but it is true. and today on my walk I saw something I have not seen before, some sort of black caterpillar munching down on the Fireweed specifically. The critter reminded me of a Tomato worm that I used to see in California as a kid. This guy has the same body shape, and a little red horn on his head, but was black. #bugs #flower #pest #nature
#gardening failure so far this year: invested in #AntPro bait stations in an attempt to reduce ant damage to fruit trees/etc. (and the occasional bee swarm that lands here). The #ArgentineAnts here refuse to take the bait... I think too many other food sources in my yard. #pest#control#ant#ants
A deadly new tool is being rolled out that will kill feral cats by spraying them with a toxic gel, as part of a five-year plan to reduce the enormous impact the predators are having on native wildlife.
Hello #PlantParents! My #Tradescantia has some kind of #Pest going on. I don't think #MealyBugs, as whatever they are are too tiny, and don't match in appearance to images I've seen.
They really are tiny bugs, less than 1mm. Light in colour, and have set up home on the leaves, close to the stem (is this the node??) There is a very fine web like structure, with white dust, but I don't think it's general dust - bigger, whiter particles than original household dust. Continued in reply toot...
I’m trying to run “Debug” (for step-debugging with #Xdebug) in #PhpStorm while running a #Pest test. I do this all the time with standard #PHPUnit tests, and I’ve never had this problem…
The test runner stops immediately, and PhpStorm reports in the debug console, “Test framework quit unexpectedly.”
Has anyone else seen this error? Do you know what causes it?
Fix Flaky Tests with Pest Repeat (seankegel.com)
I recently ran into an issue with a flaky test in our CI process. Most of the time, it would pass, but when it failed, it meant running all the tests again and hoping it would pass on the next try. When I was finally fed up enough with the waiting, I...
Deadly tool that sprays feral cats with toxic gel unveiled as part of Australia-first strategy to save wildlife (www.abc.net.au)
A deadly new tool is being rolled out that will kill feral cats by spraying them with a toxic gel, as part of a five-year plan to reduce the enormous impact the predators are having on native wildlife.
New Zealand seeks to exterminate predators to save native birds (www.bbc.com)
New Zealand plans to wipe out every last rat, possum and stoat. Can the plan work?