PHP code example of globegroup / api-test-case

1. Go to this page and download the library: Download globegroup/api-test-case 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/ */

    

globegroup / api-test-case example snippets


 /** @test */
 function only_authorized_user_can_list_products() {
  ... your test goes here
 }
 
 

  /** @test */
  function name_is_

 /** @test */
 function not_found_when_no_category_provided() {
  ... your test goes here
 }