Using Testcontainers for your Oracle NoSQL Application Unit Tests

Using Testcontainers for your Oracle NoSQL Application Unit Tests

TestContainers is an open-source framework for providing throwaway, lightweight instances of databases, message brokers, web browsers, or anything that can run in a Docker container. The free Testcontainers Desktop app now embeds a lightweight and fast runtime! You don't need to install or maintain Docker, Rancher, or Podman.

The Oracle NoSQL SDK drivers provide interfaces, documentation, and examples to help develop applications that connect to the Oracle NoSQL Database Cloud Service, Oracle NoSQL Database, or a Container Image running our Kvlite, located in our Oracle?NoSQL?Community Edition bundle.

API Flexibility: The API for all environments is the same, except for some environment-specific classes and methods, primarily related to authentication and authorization.

Test dependencies as code: You define your test dependencies as code, then run your tests, and containers will be created and deleted. With support for many languages and testing frameworks, you only need your preferred container technology. You don't need to set up mocks or complicated environment configurations.

As there is already lots of excellent documentation available on testcontainers on its official page, we will skip the basics and jump right into building some examples.


Want to learn more - read the following blog in medium https://medium.com/@dariovega/using-testcontainers-for-your-oracle-nosql-application-unit-tests-1c9eb094eed0


Testcontainers are a great way to run your unit tests.

要查看或添加评论,请登录

Dario Vega的更多文章

社区洞察

其他会员也浏览了