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.
 
 
Nikita Tokarchuk 7c3e50e783
Keep tests in separated _test package
3 years ago
mongox Keep tests in separated _test package 3 years ago
mongox-testing/database Override default ephemeral database uri by using env variable 3 years ago
.gitignore Convert to go modules 6 years ago
LICENSE.md MIT licensed 4 years ago
README.md Add dockerfile for testing 3 years ago
go.mod Upgrade go mod packages 3 years ago
go.sum Upgrade go mod packages 3 years ago
testing.Dockerfile Add dockerfile for testing 3 years ago

README.md

mongox-go-driver

testing locally

reqs:

  • mongodb v4.0 or newer run on localhost
  • golang v1.13 or newer

test it by calling go tests

$ go test ./...

testing by using dockerfile

reqs:

  • docker with buildkit
$ DOCKER_BUILDKIT=1 docker build -t mongox-testing -f testing.Dockerfile .