Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ Testcompose


---
**Testcompose** provides an easy way of using docker containers for functional and integration testing. It allows for combination of more than one containers and allows for interactions with these containers from your test code without having to write extra scripts for such interactions. I.e providing a docker compose kind of functionality with the extra benefit of being able to fully control the containers from test codes.

**Testcompose** provides an easy way of using docker containers for functional and integration testing. It allows for combination of more than one containers and allows for interactions with these containers from your test code without having to write extra scripts for such interactions. I.e providing a docke compose kind of functionality with the extra benefit of being abale to fully control the containers from test codes.

This is inspired by the [testcontainers-python](https://testcontainers-python.readthedocs.io/en/latest/index.html#) project and goes further to add a few additional functionality to imporve software integration testing while allowing the engineer control every aspect of the test.
This is inspired by the [testcontainers-python](https://testcontainers-python.readthedocs.io/en/latest/index.html#) project and goes further to add a few additional functionalities to improve software integration testing while allowing the engineer to control every aspect of the test.

---

Expand Down
120 changes: 60 additions & 60 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ requests = "^2.26.0"
types-requests = "^2.25.9"
PyYAML = "^5.4.1"
types-PyYAML = "^5.4.10"
pydantic = "^1.8.2"
pydantic = "1.9.0"
pyproject-toml = "0.0.11"
coverage = "^6.0.2"
pytest-cov = "^3.0.0"
Expand Down
2 changes: 0 additions & 2 deletions scripts/build-and-publish-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ mkdocs build
twine upload dist/*

mkdocs gh-deploy --force

# coverage report --show-missing --skip-covered
8 changes: 2 additions & 6 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ set -eux

if [ "$#" -ne 1 ]; then
echo "Test requires Python Version"
exit 2
exit 1
fi
VERSION="${1}"
# install tox
pip install --upgrade pip
pip install tox

# run tox
tox -e "py${VERSION/'.'/}"

# # coverage
# export SOURCE_FILES="testcompose tests"

# coverage report --show-missing --skip-covered --fail-under=100
Loading