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
Inside Smarty - Violet Brin
Arrow Icon
Violetta Brin (Violet) is the purple we all needed in our crayon box. Her strong presence (all puns intended since she’s ripped) is an excellent asset in our marketing sphere. Her laugh is genuine, and her kindness is unparalleled. Violet makes everyone else laugh and smile too.  An experienced designer, Violet adds the right touch to make our site and its components stand out meaningfully.  BackgroundAs a child, Violet wanted to be a spy or a secret agent for the FBI. The appeal of being behind the scenes and pulling off cool things drew her in.
World UFO Day
Arrow Icon
It’s a bird! It’s a plane! Wait, what is that thing? World UFO (Unidentified Flying Object) Day occurs on July 2nd each year, and we’re geeking out about it. If you’ve experienced close encounters with extraterrestrial forces, you wouldn’t be the only one. In fact, this goes back as far as the Puritans.  Diary records from John Winthrop in 1639 mention an incident involving 3 men in a row boat. “‘When it stood still, it flamed up, and was about three yards square,’ the governor reported, ‘when it ran, it was contracted into the figure of a swine.
Legal insights for using Smarty services
Arrow Icon
In our recent webinar, Gianmarco Rosborough, Smarty's legal counsel, provided valuable insights on smart practices and legal considerations for using address data.  Smarty offers the most accurate and easy-to-implement address intelligence suite, processing billions of addresses daily with a reliable API. This tool helps businesses clean data, lower shipping costs, and enhance user experiences with exceptional support. If your organization works with addresses, it's important for you to be aware of the legal ramifications of storing bad address data.