PHP code example of phphleb / test-o

1. Go to this page and download the library: Download phphleb/test-o library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

phphleb / test-o example snippets

text
Test-O 0.0.0 by Foma Tuturov.

Runtime:       PHP 8.2.7
........

Time: 00:00:00, Memory: 0.52 MB

OK Tests: 8, Assertions: 8


bash
php ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example/ExampleTest.php
 
bash
php ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example/ExampleTest.php:testExampleFirstMethod
 
bash
php ./vendor/phphleb/test-o/run ./vendor/phphleb/tests