Pinpoint: A virtual user conference inRegister today
Smarty

GoConvey - (yet) another testing tool for GoLang

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

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 icon
Subscribe Now
Read our recent posts
Around the World in 80 Days (with Smarty!)
Arrow Icon
Phony passports. Runaway trains. Rogue elephants. Hot air balloons. Phileas Fogg dodged them all in the 1956 movie adaptation of Jules Verne’s novel, Around the World in 80 Days. His race was against time. Today, your ecommerce business is running a race of its own; delivering quickly, accurately, and affordably across a world full of logistical landmines. Fortunately, you don’t need a valet named Passepartout to guide you (although wouldn’t that be fun?!) You just need Smarty. Smarty is your passport to global address data perfection, specializing in address verification, autocomplete, geocoding, and enrichment.
Address component analysis: A smarter way to validate addresses
Arrow Icon
Most address validation tools give you a simple thumbs up or down on an address because it either matches or it doesn’t, right? But what if you need more than just “valid” or “invalid” as a response? What if you could know exactly what part of the address is off, like a misspelled street name or an unconfirmed vanity city (like Hollywood), and why it isn’t considered valid?What if part of an address needed to change in order to make it a mailable, valid address? We think you’d want to know that, too.
BREAKING: Rooftop geocodes walk off the job—chaos mounting by the hour
Arrow Icon
Dateline: Tuesday, 8:04 a. m. In what experts are calling “the biggest location intelligence crisis since the discovery of space,” rooftop-accurate geocodes have officially gone on strike. The high-precision coordinates—normally pinpointing locations down to the exact rooftop for deliveries, telecom installs, insurance claims, and analytics—appeared on Smarty TV and issued a short but cutting statement this morning:“We’re tired of being taken for granted. We’re tired of being treated like just another number.

Ready to get started?