Unit tests
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Unit tests
Hello,
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.07
Environment: Linux
Where can I find topics/documentation/open source projects about Unit Tests?
With small example like in the documentation for Unit Tests in Laravel (https://laravel.com/docs/10.x/testing)
For example how to test "Add to basket" action via Aimeos Unit Tests
PHP version: 8.1
Laravel version: 10
Aimeos version: 2023.07
Environment: Linux
Where can I find topics/documentation/open source projects about Unit Tests?
With small example like in the documentation for Unit Tests in Laravel (https://laravel.com/docs/10.x/testing)
For example how to test "Add to basket" action via Aimeos Unit Tests
Re: Unit tests
There's a small article about the build system incl. test target:
https://aimeos.org/docs/latest/developer/phing/
If you want to test your extension:
1.) check out aimeos/aimeos-core
2.) adapt the ./config/resource.php (copy from .dist file)
3.) run "composer up"
4.) place your extension in the ./ext/ directory
5.) run "vendor/bin/phing -Ddir=ext/<yourext> setup testext
https://aimeos.org/docs/latest/developer/phing/
If you want to test your extension:
1.) check out aimeos/aimeos-core
2.) adapt the ./config/resource.php (copy from .dist file)
3.) run "composer up"
4.) place your extension in the ./ext/ directory
5.) run "vendor/bin/phing -Ddir=ext/<yourext> setup testext
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star