You are here

public function ScssUnitTest::run in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/tests/test_inc.php \ScssUnitTest::run()

File

phpsass/tests/test_inc.php, line 86

Class

ScssUnitTest

Code

public function run() {
  $methods = get_class_methods($this);
  foreach ($methods as $method) {
    if (substr($method, 0, 4) == "test") {
      echo '<h3>' . $method . '</h3>';
      $this
        ->{$method}();
    }
  }
}