You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the issue referenced above, we will need to resolve this backlog item, in order to make the test layer usable for applications/libraries which are using Python's unittest module for testing.
While a pytest-based wrapper adapter around the "Testcontainers" implementation is nice, the projects crate-python and crash are using Python's builtin unittest module. Can we also grow a unittest-based wrapper adapter, to be reusable by both downstream projects?
Task
Use testing infrastructure from cratedb_toolkit.testing.testcontainers.cratedb and maybe cratedb_toolkit.tests.conftest.CrateDBFixture, and adapt that to unittest instead of using the pytest-specific details.
First Candidate
As a first candidate to apply this adapter, we identified the crash terminal program. This other ticket there outlines how/where to use the unittest-based adapter instead of the previous one.
The text was updated successfully, but these errors were encountered:
amotl
changed the title
Testing: Adapt "Testcontainers" implemention to unittest
Testing: Adapt "Testcontainers" implementation to unittestOct 10, 2023
Introduction
Over here, we reported about the state of the "Testcontainers for Python" implementation, for supporting application testing with CrateDB.
About
At the issue referenced above, we will need to resolve this backlog item, in order to make the test layer usable for applications/libraries which are using Python's
unittest
module for testing.Task
Use testing infrastructure from
cratedb_toolkit.testing.testcontainers.cratedb
and maybecratedb_toolkit.tests.conftest.CrateDBFixture
, and adapt that tounittest
instead of using thepytest
-specific details.First Candidate
As a first candidate to apply this adapter, we identified the
crash
terminal program. This other ticket there outlines how/where to use theunittest
-based adapter instead of the previous one.The text was updated successfully, but these errors were encountered: