Hermes is an open-source E-Mail tracking solution that is written in Go. It tracks emails using a tracking pixel.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
331 B

4 years ago
  1. package tests
  2. import (
  3. "github.com/revel/revel/testing"
  4. )
  5. type AppTest struct {
  6. testing.TestSuite
  7. }
  8. func (t *AppTest) Before() {
  9. println("Set up")
  10. }
  11. func (t *AppTest) TestThatIndexPageWorks() {
  12. t.Get("/")
  13. t.AssertOk()
  14. t.AssertContentType("text/html; charset=utf-8")
  15. }
  16. func (t *AppTest) After() {
  17. println("Tear down")
  18. }