gat

command module
v0.0.0-...-147e9dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2013 License: BSD-2-Clause Imports: 2 Imported by: 0

README

G.A.T.

G.A.T. is a development tool for the Go Programming Language. It automatically runs your tests and hot compiles your code when it detects file system changes.

Status

Build Status

This is an early alpha. There is still quite a lot to do (Hot Compiles, Growl notifications, and interactions for profiling, benchmarking, etc.). Also, it has only been tested on Mac OS X 10.8.

See the public Trello board for the Roadmap.

Get Going

If you are on OS X, you need to first install GNU Readline via Homebrew:

$ brew install readline

To install G.A.T., or to update your installation, run:

$ go get -u github.com/gophertown/gat

Then run gat in your project folder:

$ gat
G.A.T.0.1.0 is now watching your files
Type help for help.

Watching path ./

Autotest

By convention, Go code has a counterpart test file in the same folder. When G.A.T. detects a change to your production code or the test itself, it will run the appropriate test.

If you have a suite_test.go in the same folder, G.A.T. will include it in every test run. Use it for a Suite definition (Gocheck, PrettyTest), additional Checkers, or other testing helpers.

Hot Compiles

...to be determined...

Interactions

  • a, all, : Run all tests.
  • h, help: Show help.
  • e, exit: Quit G.A.T.

Thanks

Inspired by Andrea Fazzi's PrettyAutoTest and devweb by Russ Cox. The name is inspired by shotgun, the reloading rack development server for Ruby. Special thanks to Chris Howey for the fsnotify package.

Documentation

Overview

Autotesting tool with readline support.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL