Adding Launchable to your pytest runs is now easier than ever with the new Launchable plugin for pytest!
This native integration takes quite a few steps out of the integration process. Before, you had to install the CLI and manually add various CLI commands to your pipeline like
launchable record build,
launchable record tests, and
The new plugin takes care of those steps for you, making sure to run the right commands with the right inputs at the right time. Now you just have to
Make your Launchable API key available as an environment variable (this step hasn't changed)
Install the Launchable plugin for pytest
Generate a config file with a simple command
Simply run your tests with the plugin enabled to record builds and tests!
Once you're ready to start running Launchable subsets, you just update two lines in the config file. Nice
Check out the docs for the new integration here: https://docs.launchableinc.com/resources/integrations/pytest#native-pytest-plugin