Skip to content

cmiller01/fungo

Repository files navigation

fungo

Just some fun stuff with golang

Running Tests

To run all tests:

go test ./...

To run tests with verbose output:

go test -v ./...

To run benchmarks:

go test -bench=. ./tinkering

Token Package Integration Tests

The token package includes integration tests that require a PostgreSQL database. To run these tests:

  1. Start the database:
cd token
docker-compose up -d
  1. Remove the skip statement in token/token_test.go (line 10: t.Skip())

  2. Run the tests:

go test ./token -v
  1. Stop the database when done:
cd token
docker-compose down

Running

About

some fun with golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •