1. snooper(1)
  2. snooper(1)

NAME

snooper - Spy on Tests

SYNOPSIS

snooper options [command_line]*
snooper init

DESCRIPTION

Snooper is a lightweight test automation tool, it monitors files and folders while you work and re-runs your tests when you change something. Snooper doesn't care what language you're using or what framework you are testing with, it's all configureable.

OPTIONS

Most configuration takes place in the snooper-config(7) file. You can however override the command that is run. This is useful if you are only working on a subsection of a project that has it's own tests.

-c, --config configfile

Specify the configuration file to use. The default is .snooper.yaml in the current directory, or any of it's parent directories.

-p, --poll [frequency]

Force polling, optionally setting the frequency. Polling frequency is measured in seconds. Use this if there seem to be bugs in your builtin OS file notification system. Warning: using this option may slow down snooper's reaction to file changes and increase resource usage.

command_line

One or more command_lines to execute when source files change. Overides any commands specified in the configuration file.

init

Create a new .snooper.yaml configuration file in the current working directory. Use this to quickly add snooper support to a project.

EXAMPLES

$ snooper

To run snooper in the current directory, configured by the .snooper.yaml file.

$ snooper --config snooperrc "echo Hello World!"

To snoop using the cofiguration in snooperrc executing echo Hello World! when files change.

BUGS

Think you've found a bug? Report it.

SEE ALSO

snooper-config(7)

AUTHORS

Will Speak (@willspeak)

  1. December 2014
  2. snooper(1)