Testcontainers
Minestom
Our great sponsors
Testcontainers | Minestom | |
---|---|---|
11 | 31 | |
7,704 | 2,062 | |
1.7% | 2.7% | |
9.8 | 9.4 | |
1 day ago | 5 days ago | |
Java | Java | |
MIT License | Apache License 2.0 |
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.
Testcontainers
-
Testcontainers
except the parent is wrong (at least the Java impl). see:
https://github.com/testcontainers/testcontainers-java/blob/m...
https://github.com/testcontainers/testcontainers-java/blob/m...
-
Reasons to Drop Docker for Podman
> I wonder if Rancher Desktop, et al, works with testcontainers.org?
I don't use testcontainers myself, but it looks like as long as you are using Rancher Desktop >= 1.0.1 you should be just fine.[1]
[1] https://github.com/testcontainers/testcontainers-java/issues...
-
Database Testing with Testcontainers and Kotlin Exposed ORM
In this article, we will explore how to use Testcontainers and Exposed, a lightweight ORM framework for Kotlin, to create a controlled environment for testing MySQL Database operations.
-
Spring Boot 3.1 RC1 is here - with support for Testcontainers and docker compose
Unfortunately, it still remains hard to use Testcontainers because of how wedded it is to junit4, five years after the release of junit 5. https://github.com/testcontainers/testcontainers-java/issues/970
-
Spring, SchemaSpy DB docs, and GitHub Pages
Finally, we put the directory with generated contents (HTML, CSS, JS) into a tarball. Testcontainers library allows to copy files from a container to the OS but not directories. That’s why we need an archive inside the SchemaSpy container.
-
Spring Cloud Gateway 4.0.0-RC2 native example with Testcontainers
This repository provides a BuildImageTest that uses the buildpack to create a native image. It then tests the native image, using Testcontainers and JUnit. Building the native image with AOT processing, as part of a test, takes minutes not seconds, and should not be part of normal "inner loop" development. So the BuildImageTest is in a separate sourceSet and can be executed independently. This is a very powerful pattern, that I'm just getting started with. I would love to hear your thoughts on this pattern or other alternatives to it.
-
Testcontainers for Hashicorp Consul and Vault
The list goes on. Check out the full list of Testcontainer modules.
-
Testing integration of multiple images?
TestContainers looks Java specific... or are you talking about something else?
- Your cool open source libraries
Minestom
-
A guide to setting up a cloud server network
- What server software or framework to use. Ideally, if you dont need too much vanilla features (world generation, all mobs & items implemented, etc), I'd use something lightweight that is not based off of the vanilla server software. There are a few projects like this on github, including: https://github.com/Minestom/Minestom , https://github.com/feather-rs/feather , https://github.com/KryptonMC/Krypton , https://github.com/df-mc/dragonfly (bedrock). Which one you use will probably depend mostly on your preference. - You will need a way to store data separate from the servers. A database like postgres should work. There are a lot of different databases tho!
-
Software that should be FOSS
Even if performance is your worry, Minestom is an open-source barebones reimplementation of the minecraft server. With this, you can make extremelly custom things and let people connect using the default vanilla client. Of coruse, you can pair this with a mod if you want to.
-
What software would I need
Depends on what you're doing on said server. If it doesn't require vanilla mechanics then Minestom might suit the job well. Other than that, I'd recommend Paper, Purpur or Pufferfish.
-
how hypixel works ?
It's unlikely to achieve have such performance and feature using Paper/Bukkit/Spigot or the one provided by Mojang. If you want to write your own server-side software, you could use Minestom.
- Building a custom minecraft server
- Lemásoltam az r/place-et a Minecraftban
-
I want to stress test a 1.18 server (simulating players behaviour).
Im experimenting with Minestom and I want to make some crazy stress tests (1k users).
-
Setting up Minecraft hosting for 300+ players
Also to add to this, if you don't need full vanilla functionality and are more focus on higher player count than something slightly more experimental but more performant might be your best bet like GlowstoneMC (glowstone supports paper plugins) or Minestrom
-
Would it be theoretically possible to host 500 players in one world?
Theoretically, but not using any bukkit fork. Your only option would be to use Minestom. It could hold all those players at a good tps ( im told they tested with over 1k but i cant find any documentation of the test). The only constraint is client side cus the mc client can only load so many other players. This could prob be mitigated by not showing each player ever other player. Ofc this comes with the big catch that u cant use spigot plugins and will need to develop every feature u wish to use. Below is a link to their github. https://github.com/Minestom/Minestom
-
How to pick a server software for your server
Now you need to think about what features your server needs, like chests, combat, redstone etc. If your server doesn't need many vanilla features you may want to look into using a server software built from the ground up, like Minestom or Krypton. The vanilla server will work for whatever you decide but will not have the performance compared to software without all the features.
What are some alternatives?
WireMock - A tool for mocking HTTP services
GreenMail - Official master for the Greenmail project
Mockito - Most popular Mocking framework for unit tests written in Java
Cucumber - Cucumber for the JVM
MockServer - MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).
Paper - The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
DecompilerMC - This repository allows you to decompile any minecraft version that was published after 19w36a without any 3rd party mappings, you just need to execute the script or the executable (see releases)! Thanks mojang to have published proguard mappings
REST Assured - Java DSL for easy testing of REST services
Pact JVM - JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
S3Mock - A simple mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit 4 rule, JUnit Jupiter extension or TestNG listener
Karate - Test Automation Made Simple
TestNG - TestNG testing framework