github.com/fogfish/it
Package it implements a human-friendly syntax for assertions to validates correctness of your code. It's style allows to write BDD-like specifications: "X should Y", "A equals to B", etc. This library is heavily inspired by features of ScalaTest, see http://www.scalatest.org. It tries to adapt similar syntax for Golang. There is a vision that change of code style in testing helps developers to "switch gears". It's sole purpose to write unit tests assertions in natural language. Each assertion begins with phrase: Continues with one of imperative keyword as defined by RFC 2119 Assertions with user-defined functions is a technique to define arbitrary boolean expression. Intercept any failures in target features Matches equality and identity Matches type Matches Order and Ranges
proxy.golang.org
v1.0.0
almost 5 years ago
3
22
16
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/fogfish/it
spec |
| License | MIT |
| Namespace | github.com/fogfish |
| First Release | almost 5 years ago |
| Last Synced | 6 days ago |
Repository
| Stars | 2 on GitHub |
| Forks | 1 on GitHub |
| Commits | 31 |
| Committers | 1 |
| Avg per Author | 31.0 |
| DDS | 0.0 |