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
Ok, App-Entwickler, die kein Interesse haben sich zu informieren haben es geschafft. Ich muss die Profil-Links bei #Questlog ändern. So ziemlich an jeden App-Entwickler geschrieben, dass nicht jeder Link, der ein @ enthält auch ein Fediverse-Profil ist. Seit Jahren (Jahrzehnten?) wird das @ generell für Profile in URLs verwendet.
Kurz: Die Wahrscheinlichkeit ist groß, dass z.B. https://questlog.app/@kaiserkiwi bei euch zu einem Fehler führt, weil die App denkt, dass es sich um ein Fediverse-Profil handelt. Betrifft sehr viele Websites/Communitys, nicht nur meine.
Einige App-Entwickler haben gehandelt, andere nur reagiert, aber nichts getan. Wieder andere ignorieren es komplett. Nach 6 Monaten gebe ich auf.
Im nächsten Update werden Profillinks sowas wie /u/kaiserkiwi sein oder so. Die @-Links bleiben verfügbar, leiten aber dann um.
Der Fehler fällt für Nutzer:innen auf mich zurück, die immer wieder melden, dass Questlog nicht erreichbar ist, weil sie eben versuchen den Link aus einer Mastodon-App zu öffnen. Das kostet mich zu viel Zeit und nerven.
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
Biotech-Konzern Evotec: Pocken- und Pestforschung fürs Pentagon
Der Hamburger Biotech-Konzern Evotec soll für das Pentagon Prototypen für ein Medikament gegen Pockenviren entwickeln. Es ist nicht der erste Auftrag des US-Verteidigungsministeriums: Der letzte drehte sich um die Pest.
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...
Finally got around to writing more tests for #Questlog. It's so satisfying when the GitHub actions run so many tests and just turns green.
To be fair, it didn't work right away. Which is good. I found some bugs this way that I didn't have on my machine, but could be a problem on the server.
It's so much easier to write tests for #Laravel with #Pest. I should have adopted this much sooner.
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?
Vor rund 4000 Jahren war die #Pest eine völlig andere Krankheit. Ihr heute wichtigster Verbreitungsweg über Flöhe war damals noch nicht entstanden.
Dafür war die Seuche sehr viel ansteckender und verbreitete sich von Mensch zu Mensch. Wie tödlich sie damals war, ist aber unklar. Einerseits wird sie mit dem Untergang früher Zivilisationen in Verbindung gebracht. Andererseits fehlen ihr Gene, die sie heute gefährlicher machen. https://www.spektrum.de/news/die-pest-war-vor-4000-jahren-viel-ansteckender/2146926
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?