top

PrettyTest is a simple testing library for golang. It aims to simplify/prettify testing in golang.

It features:

* a simple assertion vocabulary for better readability

* customizable formatters through interfaces

* before/after functions

* integrated with the go test command

* pretty and colorful output with reports

This is the skeleton of a typical prettytest test file:

    package foo

    import (
	"testing"
	"github.com/remogatto/prettytest"
    )

    // Start of setup
    type testSuite struct {
	prettytest.Suite
    }

    func TestRunner(t *testing.T) {
	prettytest.Run(
		t,
		new(testSuite),
	)
    }
    // End of setup

    // Tests start here
    func (t *testSuite) TestTrueIsTrue() {
	t.True(true)
    }

See example/example_test.go and prettytest_test.go for comprehensive usage examples.

Imported by 1 package(s)

  1. github.com/remogatto/gospeccy/src/test

Imported only in test by 105 package(s)

  1. github.com/CodeNow/docker-registry/contrib/golang_impl
  2. github.com/Ehuos/docker-private-registry
  3. github.com/EverythingMe/docker-registry/contrib/golang_impl
  4. github.com/Lavos/docker-private-registry
  5. github.com/MattParker89/docker-registry/contrib/golang_impl
  6. github.com/Telmo/docker-private-registry
  7. github.com/Term1nal/clingon
  8. github.com/Term1nal/clingon/specs
  9. github.com/Tobscher/paymill-go
  10. github.com/WeiZhang555/docker-registry/contrib/golang_impl
  11. github.com/aldrinleal/docker-registry/contrib/golang_impl
  12. github.com/antonikonovalov/docker-registry/contrib/golang_impl
  13. github.com/arcus-io/docker-registry/contrib/golang_impl
  14. github.com/arypurnomoz/docker-registry/contrib/golang_impl
  15. github.com/bergwolf/docker-registry/contrib/golang_impl
  16. github.com/catalyst-zero/paymill-client-go
  17. github.com/catchmrbharath/clingon
  18. github.com/catchmrbharath/clingon/specs
  19. github.com/chanwit/docker-registry/contrib/golang_impl
  20. github.com/csrwng/docker-registry/contrib/golang_impl
  21. github.com/deis/docker-registry/contrib/golang_impl
  22. github.com/dillera/docker-registry/contrib/golang_impl
  23. github.com/docker/docker-registry/contrib/golang_impl
  24. github.com/dynport/docker-private-registry
  25. github.com/ericavonb/docker-registry/contrib/golang_impl
  26. github.com/fabware/docker-registry/contrib/golang_impl
  27. github.com/gbtouch/docker-registry/contrib/golang_impl
  28. github.com/giantswarm/docker-registry/contrib/golang_impl
  29. github.com/go-goodies/go_currency
  30. github.com/go-goodies/go_oops/factory_method_with_registry
  31. github.com/go-goodies/go_oops/factory_method_with_reuse
  32. github.com/go-goodies/go_oops/singleton
  33. github.com/go-goodies/go_utils
  34. github.com/gobuild-old/gobuild2/pkg/base
  35. github.com/gobuild/gobuild2/pkg/base
  36. github.com/hivetech/hivy-v0/beacon
  37. github.com/hivetech/hivy.v0.legacy/beacon
  38. github.com/hustcat/docker-registry/contrib/golang_impl
  39. github.com/ismell/docker-registry/contrib/golang_impl
  40. github.com/jackielii/docker-registry/contrib/golang_impl
  41. github.com/johncosta/docker-registry/contrib/golang_impl
  42. github.com/jonasfj/docker-registry/contrib/golang_impl
  43. github.com/kencochrane/docker-registry/contrib/golang_impl
  44. github.com/kolonse/docker-registry/contrib/golang_impl
  45. github.com/l3x/application
  46. github.com/lorieri/docker-registry/contrib/golang_impl
  47. github.com/loz/getapubcrawl/pubcrawl
  48. github.com/lsm5/docker-registry/contrib/golang_impl
  49. github.com/lyft/docker-registry/contrib/golang_impl
  50. github.com/mattwallington/docker-registry/contrib/golang_impl
  51. github.com/milliant/docker-registry/contrib/golang_impl
  52. github.com/minhajuddin/timelogger
  53. github.com/mzdaniel/docker-registry/contrib/golang_impl
  54. github.com/nayyden/docker-registry-golang-fcgi/src
  55. github.com/ncdc/docker-registry/contrib/golang_impl
  56. github.com/oss17888/docker-registry/contrib/golang_impl
  57. github.com/pchaussalet/docker-registry/contrib/golang_impl
  58. github.com/pengqiuyuan/docker-registry/contrib/golang_impl
  59. github.com/pkrnjevic/docker-registry/contrib/golang_impl
  60. github.com/remogatto/application
  61. github.com/remogatto/clingon
  62. github.com/remogatto/clingon/specs
  63. github.com/remogatto/gospeccy/src/formats
  64. github.com/remogatto/imagetest
  65. github.com/remogatto/videocore/egl
  66. github.com/rohansingh/docker-registry/contrib/golang_impl
  67. github.com/rsampaio/docker-registry/contrib/golang_impl
  68. github.com/saltlakeryan/docker-registry/contrib/golang_impl
  69. github.com/sbinet/clingon
  70. github.com/sbinet/clingon/specs
  71. github.com/scrapinghub/docker-registry/contrib/golang_impl
  72. github.com/sendgrid/docker-registry/contrib/golang_impl
  73. github.com/shiyanlou/docker-registry/contrib/golang_impl
  74. github.com/shreyu86/docker-registry/contrib/golang_impl
  75. github.com/shuoli84/docker-registry/contrib/golang_impl
  76. github.com/siscia/docker-registry/contrib/golang_impl
  77. github.com/slantview/docker-private-registry
  78. github.com/spadin/tictactoe
  79. github.com/spadin/tictactoe/game
  80. github.com/spadin/tictactoe/io
  81. github.com/spadin/tictactoe/player
  82. github.com/sridatta/docker-registry/contrib/golang_impl
  83. github.com/stuart-warren/docker-registry/contrib/golang_impl
  84. github.com/telmo/docker-private-registry
  85. github.com/term1nal/clingon
  86. github.com/term1nal/clingon/specs
  87. github.com/thesyncim/docker-private-registry
  88. github.com/thieman/docker-registry/contrib/golang_impl
  89. github.com/tjrivera/docker-registry/contrib/golang_impl
  90. github.com/tobscher/paymill-go
  91. github.com/tonicbupt/docker-registry/contrib/golang_impl
  92. github.com/ukd1/docker-registry/contrib/golang_impl
  93. github.com/unclejack/docker-private-registry
  94. github.com/vbatts/docker-registry/contrib/golang_impl
  95. github.com/williamsandrew/docker-registry/contrib/golang_impl
  96. github.com/wolfeidau/docker-registry
  97. github.com/wujingke/docker-registry/contrib/golang_impl
  98. github.com/xh3b4sd/paymill-go
  99. github.com/xianlubird/docker-registry/contrib/golang_impl
  100. github.com/xlab/teg-workshop/dioid
  101. github.com/xuzhaokui/docker-registry/contrib/golang_impl
  102. github.com/yowenter/docker-registry/contrib/golang_impl
  103. github.com/zhanglianx111/docker-registry/contrib/golang_impl
  104. github.com/zhangwei1234/docker-registry/contrib/golang_impl
  105. github.com/zyndiecate/paymill-go

Test imports 1 package(s)

  1. launchpad.net/gocheck