casbin VS Testify

Compare casbin vs Testify and see what are their differences.

casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN (by casbin)

Testify

A toolkit with common assertions and mocks that plays nicely with the standard library (by stretchr)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
casbin Testify
38 64
16,727 21,824
1.8% 1.7%
7.3 8.6
1 day ago 6 days ago
Go Go
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

casbin

Posts with mentions or reviews of casbin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-07.

Testify

Posts with mentions or reviews of Testify. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-01.

What are some alternatives?

When comparing casbin and Testify you can also consider the following projects:

OPA (Open Policy Agent) - Open Policy Agent (OPA) is an open source, general-purpose policy engine.

ginkgo - A Modern Testing Framework for Go

casdoor - An open-source UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA and RADIUS [Moved to: https://github.com/casdoor/casdoor]

Ory Keto - Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.

GoConvey - Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.

gomega - Ginkgo's Preferred Matcher Library

gomock - GoMock is a mocking framework for the Go programming language.

CASL - CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access

jwt-auth - This package provides json web token (jwt) middleware for goLang http servers

zanzibar - A build system & configuration system to generate versioned API gateways.

gotest.tools - A collection of packages to augment the go testing package and support common patterns.

go-cmp - Package for comparing Go values in tests