[dev] Setting up testing

Mike barjunk at attglobal.net
Mon Nov 25 18:20:45 UTC 2024


I'm just starting to set up testing, using php 8.1.13, I get a pretty  
clean run, it produces:

Tests: 165, Assertions: 254, Errors: 1, Failures: 2, Skipped: 2,  
Incomplete: 2, Risky: 1.

I was started out following this article:  
https://www.ralf-lang.de/2024/01/13/horde-6-return-of-the-git-tree/

But veered off it since the 'horde-components github-clone-org' didn't  
seem to work.

I set up everything by doing the following:

md horde6
cd horde6
composer create-project horde/bundle:dev-FRAMEWORK_6_0 .
composer config minimum-stability dev
composer update
cd vendor/horde/components
composer config minimum-stability dev
composer install
cp phpunitl.xml.dist phpunit.xml
phpunit //version (9.6.17)

I'm going to dig into the errors that came from the phpunit testing  
and it seems sensible for me to stay with 8.1.13 until I resolve the  
issues in front of me, then move to 8.3.14.


php 8.3.14 produces:

Tests: 165, Assertions: 254, Errors: 1, Failures: 2, Skipped: 2,  
Incomplete: 2, Risky: 1.
with a Fatel Error box regarding RecursiveDirectoryIterator.


My hope is that if my setup isn't what is being used "normally", then  
I'd hope someone might give me a hint on how I might better put this  
together to be in sync with whatever development is still going on.

Thanks for whatever attention you can give this.

Mike B.


More information about the dev mailing list