Skip to content

Unit test code shared by LaunchDarkly PHP SDK integration projects

License

Notifications You must be signed in to change notification settings

launchdarkly/php-server-sdk-shared-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LaunchDarkly Server-Side PHP SDK Shared Test Code

Run CI

This project provides support code for testing LaunchDarkly PHP SDK integrations. Feature store implementations, etc., should use this code whenever possible to ensure consistent test coverage and avoid repetition. An example of a project using this code is php-server-sdk-redis.

The code is not published to Packagist, since it isn't of any use in any non-test context. Instead, it's meant to be used as a git repository source.

In your project that uses the shared tests, add this to composer.json:

    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/launchdarkly/php-server-sdk-shared-tests"
        },
    ],

And add this dependency:

    "launchdarkly/server-sdk-shared-tests": "dev-main"