Webinar
Smarty

GoConvey - (yet) another testing tool for GoLang

GoConvey features a clean DSL, comprehensive set of built-in assertions, an auto-reloading web UI and fully integrates with GoTest.
Jonathan Oliver
Jonathan Oliver
 • 
December 26, 2013
Tags

It's now been a few months since I decided that the kind of testing tools I wanted for Go programming hadn't yet been created (or I just hadn't found them yet...). So, about 4 months ago I started work on GoConvey and a month later came the first release.

The coolest thing about GoConvey (other than the clean DSL, comprehensive set of built-in assertions, and the fact that it integrates fully with go test) is the built-in auto-reloading web UI that reports your test results to your web browser whenever a relevant file is saved (HTML5 notifications included). I've always been a fan of terminal scripts that run tests on changes but had never seen it done in the browser. Thanks to Matt at Smarty™ for turning that idea into a reality that was even more fun to use than I initially thought.

Since the initial release a lot has been improved. Here's a summarized listing:

Web UI

  • You can now ignore folders from the web UI
  • Complete folder listing on left
  • More reliable diff views
  • Browser/HTML5 notifications
  • invoke tests manually (click refresh button)
  • Failures now display 'story' context
  • "Busy" indicator when tests are running
  • Audio easter egg (can you find it?)
  • Bug fixes
  • Coverage reports (for those using Go version 1.2+)

Web server

  • Completely rewritten (with full test coverage--using GoConvey!)
  • Stability improvements
  • Configure number of concurrent testing goroutines
  • Lots of bug fixes

Core updates

  • Go 1.2 support
  • OS X Mavericks terminal support
  • Easier installation; just one go get -t command
  • New ShouldBeZeroValue assertion
  • Bug fixes

While there are many things I'd like to do to improve GoConvey I'm really proud of it for now. Thanks also go to the Gopher Academy Blog for publishing our guest post in its recent Go Advent listing (and thanks again to Matt for writing the article!). I plan on publishing several more posts about how to get the most out of GoConvey to drive the development of your software systems. Stay tuned...

Subscribe to our blog!
Learn more about RSS feeds here.
rss feed iconSubscribe Now
Read our recent posts
National Smarties® Day
Arrow Icon
Well, whaddya know, it’s that time again: National Smarties® Day! You’re probably thinking, “I honestly can’t believe Smarty®, my favorite address verification company, has its own day celebrated on a national scale. ” And if you’re thinking that, let me congratulate you on your finely tuned instincts—the existence of such a day strains belief. We’re talking about Smarties, the candy, people. You know, those tart, powdery discs that resoundingly answer the question, “What if chalk, but delicious?” Care to learn more about National Smarties Day? You’re in luck—there's plenty to unwrap.
The curse of the wrong address
Arrow Icon
Nestled snugly in Orem, Utah, address experts huddle in a circle to hear the cautionary tale of the curse of the wrong address. The lights dim, and a hush falls among the group as the flashlight beam fractures in two, lighting the sides of an older man’s face. He clears his throat and begins…Just days after Melissa Darnitall’s 17th birthday, a Victorian house went up for sale in the quaint town of Rolling Hills. Being historians by trade and visiting the city every year to experience what her mother called “the classic Halloween experience,” Melissa’s parents jumped to buy the property.
“Is water wet?” and other questions to ask today
Arrow Icon
Happy National Ask a Stupid Question Day! Today’s the day you get a free pass on asking dumb questions like, “Do fish get thirsty?” or “Why isn’t 11 pronounced ‘onety-one’?” We can’t stop people from teasing you until the cows come home (what time is that again?), but we can tell you it’s allowed on this day. In the US, Ask a Stupid Question Day’s default day is today, September 28, but it’s usually observed on the last school day in September. But why?!? Who started this nonsense?Teachers. And….