https://github.com/mockupcode/gunit
Golang Test Framework
https://github.com/mockupcode/gunit
framework go golang gunit test testing unit-testing
Last synced: 3 months ago
JSON representation
Golang Test Framework
- Host: GitHub
- URL: https://github.com/mockupcode/gunit
- Owner: mockupcode
- License: mit
- Created: 2017-06-01T13:25:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-05T19:40:13.000Z (almost 9 years ago)
- Last Synced: 2024-06-20T08:21:16.814Z (almost 2 years ago)
- Topics: framework, go, golang, gunit, test, testing, unit-testing
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GUnit [](https://godoc.org/github.com/mockupcode/gunit/assert) [](https://github.com/mockupcode/gunit/blob/master/LICENSE) [](https://travis-ci.org/mockupcode/gunit) [](https://coveralls.io/github/mockupcode/gunit)
Assertion library for golang!
Getting started
---------------
To get the package, execute:
go get github.com/mockupcode/gunit
To import this package, add the following line to your code:
import "github.com/mockupcode/gunit/assert"
And just start using it.
```go
import (
"testing"
"github.com/mockupcode/gunit/assert"
)
func TestAssertion(t *testing.T){
assert := assert.GetAssertion(t)
assert.Equal("string","string")
}
```
License
-------
GUnit is a free software and may be used under the terms specified in the [LICENSE](LICENSE) file.