Skip to content

jtacoma/gat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Autotesting tool with readline support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%