covergates alternatives and similar packages
Based on the "Testing Frameworks" category.
Alternatively, view covergates alternatives based on common mentions on social networks and blogs.
-
dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work. -
gnomock
Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻 -
embedded-postgres
Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test -
gotest.tools
A collection of packages to augment the go testing package and support common patterns. -
go-testdeep
Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite -
testza
Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕 -
jsonassert
A Go test assertion library for verifying that two representations of JSON are semantically equal -
GoSpec
Testing framework for Go. Allows writing self-documenting tests/specifications, and executes them concurrently and safely isolated. [UNMAINTAINED] -
assert
:exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions -
Gont
DISCONTINUED. A Go testing framework for distributed applications [GET https://api.github.com/repos/cunicu/gont: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] -
fluentassert
DISCONTINUED. Extensible, type-safe, fluent assertion Go library. Do NOT use it (sic!). -
gogiven
gogiven - BDD testing framework for go that generates readable output directly from source code
SaaSHub - Software Alternatives and Reviews
Do you think we are missing an alternative of covergates or a related project?
README
Covergates - Portal Gates to Coverage Reports
Purpose
Covergates is to make the easiest way to setup a self-hosted coverage report service. It's an alternative to services, such as:
The reason why this project is because managing coverage reports for private repositories should not be hard! It is able to link with your self-hosted Git service. Use it to improve coding review and quality management flow for your internal projects. Want to try? Visit covergates.com before you starting.
Using
To get started, please download prebuilt binary covergates-version-platform-architecture.zip and try:
unzip covergates-<version>-<platform>-<architecture>.zip
./covergates-server
Visit http://localhost:8080 for your covergates service.
To upload report, run covergate cli:
export API_URL=http://localhost:8080/api/v1
covergates upload -report <report id> -type go coverage.out
Configure
covergates-server uses environment variables to change configurations.
Below is the list of variables for basic configuration:
GATES_SERVER_ADDRDefaulthttp://localhost:8080GATES_SERVER_BASEDefault/GATES_DB_DRIVERDefaultsqlite3. Other options arepostgresandcloudrunGATES_DB_HOSTRequired host forpostgresandcloudrunGATES_DB_PORTRequired port forpostgresandcloudrunGATES_DB_USERRequired user forpostgresandcloudrunGATES_DB_NAMERequired database name forpostgresandcloudrunGATES_DB_PASSWORDRequired password forpostgresandcloudrunGATES_GITEA_SERVERDefaulthttps://try.gitea.io/, gitea server addressGATES_GITEA_CLIENT_IDRequired for Gitea OAuth loginGATES_GITEA_CLIENT_SECRETRequired for Gitea OAuth loginGATES_GITHUB_SERVERDefaulthttps://github.comGATES_GITHUB_API_SERVERDefaulthttps://api.github.comGATES_GITHUB_CLIENT_IDRequired for GitHub OAuth loginGATES_GITHUB_CLIENT_SECRETRequired for GitHub OAuth login
Supported SCM and Language
| SCM | Supported |
|---|---|
| GitHub | :heavy_check_mark: |
| Gitea | :heavy_check_mark: |
| GitLab | :heavy_check_mark: |
| Gogs | :x: |
| Bitbucket | :x: |
| Language | Supported | Tutorial |
|---|---|---|
| Go | :heavy_check_mark: | go-example |
| Perl | :heavy_check_mark: | :wrench:, ongoing |
| Python | :heavy_check_mark: | :wrench:, ongoing |
| Ruby (SimpleCov: RSpec) | :heavy_check_mark: | :heavy_minus_sign: |
| lcov (C, C++, Javascript) | :heavy_check_mark: | :heavy_minus_sign: |
| Clover (PHP) | :heavy_check_mark: | :heavy_minus_sign: |
| Java (Jacoco) | :wrench:, ongoing | :heavy_minus_sign: |
Covergates is at an early development stage. Other languages and SCM support is ongoing! If you would like to assist with development, please refer to Contributing Section.
Development
The build is split into backend, cli and frontend. To build backend, run:
go build -o covergates-server ./cmd/server
To build CLI, run:
export SERVER_API_URL=http://localhost:8080/api/v1
go build -o covergates -ldflags="-X main.CoverGatesAPI=$SERVER_API_URL" ./cmd/cli
You may change SERVER_API_URL to your self-hosted covergates-server address.
If your are behind firewall or proxy,
you may also download source package with vendor modules from covergates.version.src.zip
. To build with vendor modules, run:
go build -o covergates-server -mod vendor ./cmd/server
To build frontend, it requires:
Read web/README.md for more details.
Contributing
It would be highly appreciated if you could contribute to the project. There are many ways in which you can participate in the project:
- Contributing directly to the code base
The expected workflow is GitHub flow. Read CONTRIBUTING.md before getting start.
Especially for the new language support. It would be great if you could provide coverage report examples and how to produce coverage for other languages.
- Testing, both unit testing and e2e testing are welcome.
Further Information
For more information and tutorial about self-hosted Covergates server, please refer to our documentation
Milestones
Refer to TODO.md for details.
License
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for the full license text.
Screenshots




*Note that all licence references and agreements mentioned in the covergates README section above
are relevant to that project's source code only.