Package: wnpp Severity: wishlist Owner: Mikhail Potemkin <[email protected]>
* Package name : golang-github-launchdarkly-go-test-helpers Version : 3.0.2-1 Upstream Author : LaunchDarkly * URL : https://github.com/launchdarkly/go-test-helpers * License : Apache-2.0 Programming Lang: Go Description : Test convenience functions used by LaunchDarkly's Go-based open-source tools. LaunchDarkly Go Test Helpers . Actions Status (https://github.com/launchdarkly/go-test- helpers/actions/workflows/ci.yml) Documentation (https://pkg.go.dev/github.com/launchdarkly/go-test-helpers/v3) . This project centralizes some test support code that is used by LaunchDarkly's Go SDK and related components, and that may be useful in other Go projects. . While this code may be useful in other projects, it is primarily geared toward LaunchDarkly's own development needs and is not meant to provide a large general-purpose framework. It is meant for unit test code and should not be used as a runtime dependency. . This version of the project requires Go 1.23 or higher. . Contents . The main package provides general-purpose helper functions. . Subpackage httphelpers provides convenience wrappers for using net/http and net/http/httptest in test code. . Subpackage jsonhelpers provides functions for manipulating JSON. . Subpackage matchers contains a test assertion API with combinators. . Subpackage testbox provides the ability to write tests-of-tests within the Go testing framework. . Usage . Import any of these packages in your test code: . import ( "github.com/launchdarkly/go-test-helpers/v3" "github.com/launchdarkly/go-test-helpers/v3/httphelpers" "github.com/launchdarkly/go-test-helpers/v3/jsonhelpers" "github.com/launchdarkly/go-test-helpers/v3/ldservices" "github.com/launchdarkly/go-test-helpers/v3/testbox" ) . Breaking changes will only be made in a new major version. It is advisable to use a dependency manager to pin these dependencies to a module version or a major version branch. . Contributing . We encourage pull requests and other contributions from the community. Check out our contributing guidelines (/CONTRIBUTING.md) for instructions on how to contribute to this project. . About LaunchDarkly . * LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can: * Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases. * Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?). * Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file. * Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline. * LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out our documentation (https://docs.launchdarkly.com/docs) for a complete list. * Explore LaunchDarkly * launchdarkly.com (https://www.launchdarkly.com/) for more information * docs.launchdarkly.com (https://docs.launchdarkly.com/) for our documentation and SDK reference guides * apidocs.launchdarkly.com (https://apidocs.launchdarkly.com/) for our API documentation * blog.launchdarkly.com (https://blog.launchdarkly.com/) for the latest product updates * Feature Flagging Guide (https://github.com/launchdarkly/featureflags/) for best practices and strategies Needed by golang-github-launchdarkly-go-server-sdk

