Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Better Late Than never

Helps

Fixtures attempting to require files that don't exist

We have global fixtures turned on in our project and on test startup a method deep in ActiveRecord::Fixtures tries to require a file for each model that does not exist. This causes ton's of log output and slows the test suite by several minutes.

Interestings

GoLang named return parameters

Go has the ability to name your return values.

func(foo string) (bar string) {
// some stuff
bar = "hello"
// more stuff
return
}

The function will return "hello". Useful where you would have created an accumulator variable and then returned it.

http://golang.org/doc/effective_go.html#named-results

Private in Go

Struct, function (upper and lower case), package… and what to test?

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *