Skip to content

phpunit #2

@zswang

Description

@zswang
/**
 *
 * @example test1
   ```php
   <?php
   $a = 1;
   echo "hello $1";
   // > hello 1
   ```
 */
<?php
class Test1 extends PHPUnit_Framework_TestCase
{
    // ...

    /**
     * @test test1
     */
    public function test1()
    {
        $a = 1;
        $this->assertEquals("hello $1", 'hello 1');
    }

    // ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions