Ecosyste.ms: Funds
An open API service for providing issue and pull request metadata for open source projects.
https://github.com/stretchr/testify
assertions go golang mocking testify testing toolkit
Last synced: about 4 hours ago
Repository metadata:
A toolkit with common assertions and mocks that plays nicely with the standard library
- Host: GitHub
- URL: https://github.com/stretchr/testify
- Owner: stretchr
- License: mit
- Created: 2012-10-16T16:43:17.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T20:19:38.000Z (12 days ago)
- Last Synced: 2024-10-29T19:59:47.500Z (11 days ago)
- Topics: assertions, go, golang, mocking, testify, testing, toolkit
- Language: Go
- Homepage:
- Size: 1.66 MB
- Stars: 23,384
- Watchers: 175
- Forks: 1,592
- Open Issues: 376
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Owner metadata:
- Name: Stretchr, Inc.
- Login: stretchr
- Email: [email protected]
- Kind: organization
- Description: Tame your unstructured data - We <3 open-source.
- Website: http://www.stretchr.com/
- Location: Boulder, CO & Worldwide & The Cloud
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1841476?v=4
- Repositories: 50
- Last Synced at: 2023-03-24T08:50:39.561Z
- Profile URL: https://github.com/stretchr
- Sponsor URL:
Committers metadata
Last synced: about 7 hours ago
Total Commits: 809
Total Committers: 293
Avg Commits per committer: 2.761
Development Distribution Score (DDS): 0.926
Commits in past year: 76
Committers in past year: 28
Avg Commits per committer in past year: 2.714
Development Distribution Score (DDS) in past year: 0.829
Name | Commits | |
---|---|---|
Ernesto Jiménez | me@e****m | 60 |
Mat Ryer | m****r@m****m | 41 |
Olivier Mengué | d****n@c****g | 36 |
Boyan | b****s@g****m | 32 |
Tyler Bunnell | t****l@g****m | 27 |
Leigh McCulloch | l****h@m****m | 26 |
alexpantyukhin | a****n@g****m | 16 |
Ivo van der Wijk | g****b@i****l | 15 |
Bracken Dawson | a****n@g****m | 12 |
Samuel Nelson | v****n@g****m | 11 |
Arjun Mahishi | a****i@g****m | 10 |
dependabot[bot] | 4****] | 9 |
Esdras Beleza de Noronha | g****b@c****m | 9 |
Linus Barth | l****h@g****m | 8 |
Martijn | m****i@g****m | 8 |
ariley | a****y@a****m | 8 |
Christian Muehlhaeuser | m****i@g****m | 7 |
Dinesh Kumar | d****r@g****m | 7 |
Emil Stanchev | s****l@g****m | 7 |
Harald Nordgren | h****n@g****m | 7 |
Raphael Meyer | r****r@b****h | 7 |
gohargasparyan | g****n@g****m | 6 |
bhenderson | b****n@y****m | 6 |
Torkel Rogstad | t****l@r****o | 6 |
Ogoyukin | O****3@g****m | 6 |
Mat Ryer | m****t@s****m | 6 |
Kevin Burke | k****e@s****m | 5 |
Mat Ryer | m****r | 5 |
Oleksandr Redko | O****o@e****m | 5 |
Sean Talts | s****n@l****m | 5 |
and 263 more... |
Issue and Pull Request metadata
Last synced: 1 day ago
Package metadata
- Total packages: 16
- Total downloads: unknown
- Total docker downloads: 51,209,283,842
- Total dependent packages: 146,950 (may contain duplicates)
- Total dependent repositories: 280,678 (may contain duplicates)
- Total versions: 282
go: github.com/stretchr/testify
** We are working on testify v2 and would love to hear what you'd like to see in it, have your say here: https://cutt.ly/testify ** Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/testify
- Documentation: https://pkg.go.dev/github.com/stretchr/testify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:10:36.836Z (1 day ago)
- Versions: 25
- Dependent Packages: 146,490
- Dependent Repositories: 280,136
- Docker Downloads: 51,209,283,826
-
Rankings:
- Dependent packages count: 0.0%
- Dependent repos count: 0.0%
- Docker downloads count: 0.007%
- Average: 0.178%
- Stargazers count: 0.239%
- Forks count: 0.645%
go: gopkg.in/stretchr/testify.v1
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/testify
- Documentation: https://pkg.go.dev/gopkg.in/stretchr/testify.v1#section-documentation
- Licenses: MIT
- Latest release: v1.2.2 (published over 6 years ago)
- Last Synced: 2024-11-09T07:30:43.266Z (about 21 hours ago)
- Versions: 7
- Dependent Packages: 460
- Dependent Repositories: 541
- Docker Downloads: 16
-
Rankings:
- Stargazers count: 0.136%
- Dependent packages count: 0.198%
- Dependent repos count: 0.306%
- Forks count: 0.632%
- Average: 0.667%
- Docker downloads count: 2.061%
go: github.com/stretchr/testify/_codegen
- Homepage: https://github.com/stretchr/testify
- Documentation: https://pkg.go.dev/github.com/stretchr/testify/_codegen#section-documentation
- Licenses: MIT
- Latest release: (published 6 months ago)
- Last Synced: 2024-11-09T00:10:32.332Z (1 day ago)
- Versions: 0
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Stargazers count: 0.239%
- Forks count: 0.647%
- Average: 3.533%
- Dependent repos count: 4.794%
- Dependent packages count: 8.453%
go: github.com/stretchr/TESTIFY
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/TESTIFY
- Documentation: https://pkg.go.dev/github.com/stretchr/TESTIFY#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:10:32.793Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.201%
- Forks count: 0.47%
- Average: 4.254%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
go: github.com/stRetChr/testify
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stRetChr/testify
- Documentation: https://pkg.go.dev/github.com/stRetChr/testify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:10:00.421Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.383%
- Forks count: 0.477%
- Average: 4.301%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
go: gitlab.com/Ma_124/testify
** We are working on testify v2 and would love to hear what you'd like to see in it, have your say here: https://cutt.ly/testify ** Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/testify
- Documentation: https://pkg.go.dev/gitlab.com/Ma_124/testify#section-documentation
- Licenses: MIT
- Latest release: (published 6 months ago)
- Last Synced: 2024-10-29T21:05:01.251Z (11 days ago)
- Versions: 0
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.383%
- Forks count: 0.477%
- Average: 4.301%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
go: github.com/STRETCHR/testify
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/STRETCHR/testify
- Documentation: https://pkg.go.dev/github.com/STRETCHR/testify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:10:04.563Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.383%
- Forks count: 0.477%
- Average: 4.301%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
go: github.com/Stretchr/testify
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/Stretchr/testify
- Documentation: https://pkg.go.dev/github.com/Stretchr/testify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:09:46.011Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.383%
- Forks count: 0.477%
- Average: 4.301%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
go: github.com/stretChr/testify
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretChr/testify
- Documentation: https://pkg.go.dev/github.com/stretChr/testify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:09:57.579Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.383%
- Forks count: 0.477%
- Average: 4.301%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
go: github.com/StretchR/testify
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/StretchR/testify
- Documentation: https://pkg.go.dev/github.com/StretchR/testify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:10:10.685Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.383%
- Forks count: 0.477%
- Average: 4.301%
- Dependent packages count: 6.999%
- Dependent repos count: 9.346%
go: github.com/stretchr/testify/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system. The following is a complete example using assert in a standard test function: if you assert many times, use the format below: Assertions allow you to easily write test code, and are global funcs in the `assert` package. All assertion functions take, as the first argument, the `*testing.T` object provided by the testing framework. This allows the assertion funcs to write the failings and other details to the correct place. Every assertion function also takes an optional string message as the final argument, allowing custom error messages to be appended to the message the assertion method outputs.
- Homepage: https://github.com/stretchr/testify
- Documentation: https://pkg.go.dev/github.com/stretchr/testify/assert#section-documentation
- Licenses: MIT
- Latest release:
- Last Synced: 2024-11-09T00:10:31.128Z (1 day ago)
- Versions: 0
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.151%
- Average: 6.357%
- Dependent repos count: 6.563%
go: github.com/stretchr/testify/mock
Package mock provides a system by which it is possible to mock your objects and verify calls are happening as expected. The mock package provides an object, Mock, that tracks activity on another object. It is usually embedded into a test object as shown below: When implementing the methods of an interface, you wire your functions up to call the Mock.Called(args...) method, and return the appropriate values. For example, to mock a method that saves the name and age of a person and returns the year of their birth or an error, you might write this: The Int, Error and Bool methods are examples of strongly typed getters that take the argument index position. Given this argument list: You could read them out strongly typed like this: For objects of your own type, use the generic Arguments.Get(index) method and make a type assertion: This may cause a panic if the object you are getting is nil (the type assertion will fail), in those cases you should check for nil first.
- Homepage: https://github.com/stretchr/testify
- Documentation: https://pkg.go.dev/github.com/stretchr/testify/mock#section-documentation
- Licenses: MIT
- Latest release:
- Last Synced: 2024-11-09T00:10:32.582Z (1 day ago)
- Versions: 0
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.151%
- Average: 6.357%
- Dependent repos count: 6.563%
go: github.com/stretchr/testIFy
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/testIFy
- Documentation: https://pkg.go.dev/github.com/stretchr/testIFy#section-documentation
- Licenses: MIT
- Latest release:
- Last Synced: 2024-11-09T00:10:37.547Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.43%
- Average: 6.648%
- Dependent repos count: 6.865%
go: github.com/stretchr/Testify
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/Testify
- Documentation: https://pkg.go.dev/github.com/stretchr/Testify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:10:05.679Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
go: github.com/stretchr/testifY
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/testifY
- Documentation: https://pkg.go.dev/github.com/stretchr/testifY#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:09:52.995Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
go: github.com/stretchr/TEstify
Package testify is a set of packages that provide many tools for testifying that your code will behave as you intend. testify contains the following packages: The assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The http package contains tools to make it easier to test http activity using the Go testing system. The mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces.
- Homepage: https://github.com/stretchr/TEstify
- Documentation: https://pkg.go.dev/github.com/stretchr/TEstify#section-documentation
- Licenses: MIT
- Latest release: v1.9.0 (published 8 months ago)
- Last Synced: 2024-11-09T00:10:30.871Z (1 day ago)
- Versions: 25
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
Dependencies
- actions/checkout v3 composite
- actions/setup-go v3.2.0 composite
- github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607
- github.com/ernesto-jimenez/gogen v0.0.0-20180125220232-d7d4131e6607
- github.com/davecgh/go-spew v1.1.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/objx v0.5.0
- gopkg.in/yaml.v3 v3.0.1
- github.com/davecgh/go-spew v1.1.0
- github.com/davecgh/go-spew v1.1.1
- github.com/pmezard/go-difflib v1.0.0
- github.com/stretchr/objx v0.1.0
- github.com/stretchr/objx v0.4.0
- github.com/stretchr/objx v0.5.0
- github.com/stretchr/testify v1.7.1
- github.com/stretchr/testify v1.8.0
- gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
- gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
- gopkg.in/yaml.v3 v3.0.1
- actions/checkout v3 composite
- softprops/action-gh-release v1 composite