discovered livetechhelper.com, while the initiative could be positive explained, the execution is horrible! I found https://livetechhelper.com/repos/jaapio/phpunit
I can help with #phpunit but obviously any income should go to the original maintainers not to me because I created a fork!
Same applies to other projects, should we stop this?! #php#foss?
I found myself needing to write tests for code that throw an exception with domain-specific information. I actually need access to the exception thrown in my test. So, I created a testing utility that will do just that.
@ramsey Yea, that's what I was typically doing too. Then I did some Java work and liked the way JUnit 5 handles this type of thing so I decided to implement a similar pattern in PHP.
@cspray neat. yeah this construct here is one i copy paste a lot, as sometimes there is inspection of some exception properties after the instance of check.
if your system could be packaged up into a good rfc might be something that could be pitched to sebastian for core inclusion.
im always personally leery of adding things to the testing suite, its hard for me to build the trust in addons for something i need to ultra trust.
Revolutionizing user experience at OTH Regensburg! 🚀 in2code transformed the OTH Regensburg website into a dynamic recruitment portal, boosting engagement and efficiency. Awarded the #TYPO3 Award in 2023 for higher education, this recognition underscores in2code's specialization, elevating the project as a standout in the category.
Keine Lust mehr, wichtige TYPO3-News zu verpassen? Abonniere meinen kostenlosen Newsletter und sei immer top informiert! 🎉
Was bringt's dir?
► Aktuelle Trends und Updates
► Exklusive Tipps und Tricks
► Community-basierte Links
Neben den Links, die ich selbst sammle, kann jeder auch Links für diesen Newsletter vorschlagen. Ich überprüfe sie und nehme sie, wenn geeignet, in den Newsletter auf.
Die Möglichkeit dafür findest du auch auf der Anmeldeseite.
#PHP foreach() works on arrays and objects. On objects, it skips uninitialized properties, which may be very convenient with readonly properties : otherwise, it is a fatal error!