goaltools / goal

Goal is a toolkit for high productivity web development in Go language in the spirit of Revel Framework that is built around the concept of code generation.
BSD 2-Clause "Simplified" License
87 stars 3 forks source link

Remove a testing package #13

Closed ghost closed 9 years ago

ghost commented 9 years ago

Current implementation is far from being ideal. User has to begin every of his/her testing function with:

a := assert.New().TryStartServer(routes.List.Build())
defer a.StopServer()

A better approach would be to create a new tool and use code generation for that. It still will be possible to use standard go test and go test -cover. Planned this for v0.0.3.