Teststack

Latest version: v0.15.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.12.1

Fixes:
- The name of the user to exec into the container can now be specified
- Teststack now creates one network per project, so that dns names work between service containers. The service or the full container
name can be used.
- Fix a bug with adding environment variables to strings where it broke `posargs` in run steps.

0.12.0

What's Changed
- Users can now specify [buildargs](https://teststack.readthedocs.io/en/latest/config.html#tests-buildargs) for building different either services or the test container image.do
- [Environment variables](https://teststack.readthedocs.io/en/latest/config.html#environment-variables) can be used inside the teststack.toml config file.
- Files be [copied](https://teststack.readthedocs.io/en/latest/config.html#tests-copy) out of a test container programatically.

0.11.0

Added

No Mount

Allow for starting the test container without mounting:

By setting `mount` in the `[tests]` section to `false`, or passing `-m` to the
`teststack start -m` command, the tests container can now be started without
mounting the current working directory into the countainer. This is useful for
if the docker engine is on a remote host.

Build Service images

Allow specifying building a services image instead of only pulling it. If
`build` is specified instead of `image` for as service, a docker image will be
built from the directory specified.

Import Repositories

Other repositories that have a `teststack.toml` in them can be imported as
services. see the [import](https://teststack.readthedocs.io/en/latest/config.html#service-name-import) section of the docs

Local Config

If there is a config in a repo, and someone wants to make changes for just their
local config, they can specify a `teststack.local.toml` and it will be merged to
overwrite settings in the `teststack.toml` file.

This file should be added to the repos `.gitignore`.

Other

Test coverage has also been increased, and automated integration tests have been
turned back on.

Py3.7 has been dropped from the test suite, though it is still technically
supported.

0.8.3

What's Changed
* Fix env var override by jonls in https://github.com/gtmanfred/teststack/pull/17

New Contributors
* jonls made their first contribution in https://github.com/gtmanfred/teststack/pull/17

**Full Changelog**: https://github.com/gtmanfred/teststack/compare/v0.8.2...v0.8.3

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.