26 Jul '13, 11pm

For your weekend reading pleasure, testing HTTP servers/clients in #golang:

Welcome back to our semi-regularly scheduled program. This time around, we are going to take a look at how to write tests in Go, specifically those for http.Handler endpoints. If you are a Rails programmer, think of these handler endpoints as controller actions. Background Testing is built into the Go standard library in the form on the testing package. For those Rubyists that use Test::Unit/Minitest, the syntax will look familiar. I won’t go into the details but here is a list of resources to get you started: http://golang.org/doc/code.html#Testing http://golang.org/doc/faq#Packages_Testing The built in testing framework lack assertions so at Pivotal we have been using a library called Testify to get some nice assertions. The tests below will use Testify. If you the Github repo with the code (https://github.com/msgehard/goBlogArticles ) will have files for out of the box ...

Full article: http://pivotallabs.com/a-rubyist-leaning-go-testing-http-...

Tweets

#rails 4: Testing strong parameters #rails4

pivotallabs.com 28 Jul '13, 1am

UPDATE: Thanks to fellow Pivots Alex Kwiatkowski and Rick Reilly, we found that inheriting from ActionController::Paramete...

Stress Testing Your Portfolio

thefinance.sg 27 Jul '13, 8am

Whenever I feel that the stock market is about to go into a bear market, I would run a stress test on my portfolio. The me...

Ruby On Rails State of Practice: Testing

infoq.com 30 Jul '13, 12pm

Rails developers can draw from a huge pool of libraries to build their applications. Dozens of options are available just ...

Toyota begins testing Segway-like Winglet in Ja...

green.autoblog.com 26 Jul '13, 2pm

Public Sidewalk Trials of Toyota Personal Mobility Robot to Start in Japan The City of Tsukuba (Tsukuba) in Ibaraki Prefec...

Community-Driven Research: Ruby On Rails State ...

infoq.com 30 Jul '13, 12pm

InfoQ's research initiative continues with the 16th question about "Ruby On Rails State of Practice: Testing ". This is pa...