PHP Classes

File: test.sh

Recommend this page to a friend!
  Classes of Gjero Krsteski   PHP Nuclear Reactor   test.sh   Download  
File: test.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Nuclear Reactor
Asynchronous RESTful API using ReactPHP and PIMF
Author: By
Last change: Update of test.sh
Date: 4 years ago
Size: 379 bytes
 

Contents

Class file image Download
#!/usr/bin/env bash # run tests docker exec -ti reactphp-pimf-api-container php composer.phar require "codeception/codeception" tests_response=$(docker exec -ti reactphp-pimf-api-container vendor/codeception/codeception/codecept run --colors) test_ok=$(echo "$tests_response" | grep "OK" | wc -l) echo "$tests_response" if [[ ${test_ok} -ne "1" ]]; then exit 1 fi echo 0