charts VS testcontainers-python

Compare charts vs testcontainers-python and see what are their differences.

charts

Hazelcast Official Helm Chart Repository (by hazelcast)

testcontainers-python

Testcontainers is a Python library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests. (by testcontainers)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
charts testcontainers-python
1 8
35 1,247
- 14.0%
8.7 8.4
14 days ago 6 days ago
Smarty Python
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

charts

Posts with mentions or reviews of charts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-16.

testcontainers-python

Posts with mentions or reviews of testcontainers-python. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • Mock unit test an API that uses postgres or integration test API with a "test" database?
    5 projects | /r/node | 8 Dec 2023
    For later stuff, I tend to go all the way, have a separate database that gets seeded, all tests are performed against it, then it gets shut down. Testcontainers work well with this.
  • Ask HN: I have 10 yrs of Exp. Failed 4 takehome projects. What am I doing wrong?
    7 projects | news.ycombinator.com | 11 Jul 2023
    > ...

    I think this is where we're talking past each other, so let me explain more of how I see the problem -- the solution I have in mind is serializing the URL and using ONE call to INCR (https://redis.io/commands/incr/) on the ingest side.

    There is a lot you can do with the data storage pattern to make other operations more efficient, but on the stats side, the most basic way you can do it is to scan

    I will concede that given that we know the data should fit in memory (otherwise you just crash) your approach gives you O(N) retrieval time and it's definitely superior to not have to do that on the python side (and python just streaming the response through). I am comfortable optimizing in-API computation, so I don't think it's a problem.

    Here's what I mean -- you can actually solve the ordering problem in O(N) + O(M) time by keeping track of the max you've seen and building a sparse array and running through every single index from max to zero. It's overkill, but it's generally referred to as a counting sort:

    https://ebrary.net/81651/geography/sorting_algorithms

    This is overkill, clearly, and I will concede that ZSET is lighter and easier to get right than this.

    > You linked? Where? I'd like to know about any library that will do this. Tell me of any library that does integration tests that spins up infrastructure for you. The only one closest I can think of that you can run locally is anything that would use docker-compose or some other IAC language that controls containers. I honestly don't think any popular ones exist.

    https://testcontainers-python.readthedocs.io/en/latest/

    I am very sure that I linked that, but in the case I didn't, here it is again -- hope you find it useful.

    > No way I'm going to assume the user has redis installed on his local machine. Many devs don't. It's all remote development for them or everything lives in containers.

  • orchestrating contaiers for testing?
    3 projects | /r/learnpython | 17 Jan 2022
    - https://github.com/praekeltfoundation/seaworthy but you have to recreate a manifest with code. Not ideal for mildly complex stuff. 3+years was last commit :(( - https://github.com/testcontainers/testcontainers-python which is weirdly specific to certain container images. Again, not working off a manifest (I think), 1 months since last commit. :( - https://github.com/vapor-ware/kubetest which uses kubernetes(k8s) manifests and integrates with pyTest. Last commit 10 month ago.
  • The absolute worst but common anti-pattern that no one talks about
    4 projects | /r/ExperiencedDevs | 9 Oct 2021
    Buddy, let me juice it up even more: https://github.com/testcontainers/testcontainers-python
  • Hazelcast, from Embedded to Client-Server
    4 projects | dev.to | 16 Apr 2021
    Those are great options if you're developing in Java, but all is not lost if you aren't. Containerization can help us a lot! For example, the TestContainers project is available in all stack that Hazelcast support: Python developers can easily leverage the Python project to set up a local Hazelcast cluster quickly, Go developers the Go project, C# developers the .Net project, etc.

What are some alternatives?

When comparing charts and testcontainers-python you can also consider the following projects:

LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline

kubetest - Kubernetes integration testing in Python via pytest

testcontainers-dotnet - A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.

seaworthy - Test harness for Docker container images 🌊 🚢

testcontainers-go - Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.

helium - Selenium-python but lighter: Helium is the best Python library for web automation. [Moved to: https://github.com/mherrmann/selenium-python-helium]

Moto - A library that allows you to easily mock out tests based on AWS infrastructure.

selenium-python-helium - Lighter web automation for Python [Moved to: https://github.com/mherrmann/helium]

Peloton-Data-to-Google-Sheets - Peloton Data Tracker for integration with Google Sheets

seaworthy - A CLI to verify Kubernetes resource health