Skip to content

ohmrun/stx_test

Repository files navigation

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.

About

test framework with stream interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages