Skip to content

Not Automating the Tests in Linux #4

@villimagg

Description

@villimagg

I've installed all the guard gems for this to work and libnotify. I'm on a Fedora 17 platform and the testing isn't automated. Meaning I always have to return to the terminal and hit "Enter" for the tests to run again cause it's not testing on save.

Here s my Guardfile:

guard 'phpunit', :tests_path => 'application/tests/*.php', :cli => '--colors', :keep_failed => true, :all_after_pass => true do watch(%r{application/tests/(.+)\.php$}) watch(%r{^application/libraries/(.+)\.php$}) { |m| "tests/#{m[1]}test.php" } watch(%r{^application/tasks/(.+)\.php$}) { |m| "tests/#{m[1]}test.php" } end

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