百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

looper

> 编程语言
开源

带有 readline 支持的自动测试工具。

391 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

带有 readline 支持的自动测试工具。

Looper

Looper is a development tool for the Go Programming Language. It automatically runs your tests and (will eventually) hot compile your code when it detects file system changes.

Status

This is an early alpha. There is still quite a lot to do (Hot Compiles, Growl notifications, and interactions for profiling, benchmarking, etc.).

Get Going

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

bash
$ brew install readline

If you are on Linux, you'll need the readline development headers:

Debian/Ubuntu:

bash
sudo apt-get install libreadline-dev

Red Hat-based systems:

bash
sudo yum install readline-devel

To install Looper, or to update your installation, run:

bash
$ go get -u github.com/nathany/looper

Then run looper in your project folder:

bash
$ looper
Looper 0.3.3 is watching your files
Type help for help.

Watching path ./

Note: There is a known issue where tests may run multiple times on OS X. Until this is resolved, please add your development folder to Spotlight Privacy in System Preferences.

Gat (Go Autotest)

Packages are the unit of compilation in Go. By convention, each package has a separate folder, though a single folder may also have a *_test package for black box testing.

When Looper detects a change to a *.go file, it will build & run the tests for that directory. You can also run all tests against all packages at once.

To setup a Suite definition (Gocheck, PrettyTest), additional Checkers, or other test helpers, use any test file you like in the same folder (eg. suite_test.go).

Gat is inspired by Andrea Fazzi's PrettyAutoTest.

Blunderbuss (Hot Compile)

...to be determined...

Blunderbuss is inspired by shotgun, both in name and purpose.

Interactions

  • a, all, ↩: Run all tests.
  • h, help: Show help.
  • e, exit: Quit Looper

Related Projects

General purpose

  • Reflex by Caleb Spare
  • rerun by John Asmuth to autobuild and kill/relaunch
  • Watch by Ethan Burns includes acme integration
  • watcher by Travis Cline

Testing

  • PrettyAutoTest by Andrea Fazzi
  • Glitch by Levi Cook

Web development

  • App Engine devserver
  • devweb by Russ Cox
  • gin by Jeremy Saenz
  • rego by Quinn Slack
  • shotgun-go by Daniel Heath
  • Revel by Rob Figueiredo does Hot Code Reloading

Comprehensive

  • golab Linux IDE by Martin Schnabel
  • GoTray for OS X

Thanks

Special thanks to Chris Howey for the fsnotify package.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言