Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] Educate about io.crate:crate-testing package (crate-java-testing) #342

Closed
2 tasks
amotl opened this issue Feb 29, 2024 · 3 comments
Closed
2 tasks
Labels
java Pull requests that update Java code

Comments

@amotl
Copy link
Member

amotl commented Feb 29, 2024

Problem

Both patches reflecting upon software packages which can be used for testing CrateDB did not include presenting the io.crate:crate-testing package for Java.

However, the package is well alive.

Backlog

@amotl amotl added the java Pull requests that update Java code label Feb 29, 2024
@amotl amotl changed the title [Java] crate_testing [Java] crate-java-testing Feb 29, 2024
@amotl
Copy link
Member Author

amotl commented Nov 22, 2024

The example java-qa uses crate-testing already.

-- by-language/java-qa/pom.xml

@amotl
Copy link
Member Author

amotl commented Jan 21, 2025

Update 2025Q01

@kneth published release 0.12.1 (thanks!), and we added a little documentation section about the package where it was missing yet.

Thoughts I

@kneth: In the spirit of completing LoDs for advertisement purposes, can the package be added to some 3rd party resources, like corresponding adapter support for JUnit/PostgreSQL is doing it?

An example landscape exploration query is junit+postgresql, where I was able to discover Embedded PostgreSQL for Java. Its documentation is certainly impressive, and probably also its features/robustness/viability. I think io.crate:crate-testing is not necessarily behind, but could receive being highlighted better within our documentation realms. wdyt?

Thoughts II

I have been able to discover another project that provided an "embedded" PostgreSQL instance to integration tests in Java, see https://github.com/yandex-qatools/postgresql-embedded. It has been archived, and there is a relevant note:

Please be adviced that the main maintainer of this project has successfuly migrated to the use of Test Containers project. This is the best possible alternative nowadays.

In this spirit, shall we better invest into the Testcontainers/Java CrateDB Module instead, and/or feature it more prominently on the canonical documentation page? wdyt?

@amotl amotl changed the title [Java] crate-java-testing [Java] Educate about io.crate:crate-testing package Jan 21, 2025
@amotl amotl changed the title [Java] Educate about io.crate:crate-testing package [Java] Educate about io.crate:crate-testing package (crate-java-testing) Jan 21, 2025
@amotl
Copy link
Member Author

amotl commented Jan 21, 2025

The section that has been added is published now. Therefore, I am closing this.

https://cratedb.com/docs/guide/integrate/testing.html

@amotl amotl closed this as completed Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

1 participant