Skip to content

Specify Folder Instead of Single File #11

@JeffreyWay

Description

@JeffreyWay

Is there not a way to run PHPUnit on an entire test folder when a file is changed? It seems to only work if I explicitly set a test file to execute.

What I'm trying to do is something along the lines of:

# When routes.php is changed, run "phpunit app/tests"
watch('app/routes.php') { 'app/tests' }

Is that not possible, or am I being stupid?

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