Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 489 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 489 Bytes

stx_test

To write a test file;

  using stx.Test;
  class SomeTest extends TestCase{
    public function test(){
      //....
    }
  }

The convention is to create an index file;

  class Tests{
    static public function tests(){
      return [new SomeTest()];
    }
  }

Create a file tests.pml

  (indeces Tests)

Environmental Variables

STX_LOG_VERBOSE is used if --debug is not set in the build to get stack traces of thrown errors.