jwdeveloper / SpigotTester

Library for Integration testing plugins with Spigot/Bukkit API
9 stars 1 forks source link

Feature Request: Add the ability to record and replay tests #6

Open ryantheleach opened 2 days ago

ryantheleach commented 2 days ago

Instead of taking a programmatic approach, it would seem that making a test that is recordable and replayable would be a path to getting more realistic integration tests.

Watch-Wolf has clients that connect, but is still using programmatic bots.

I don't know if you have seen Sliced Lime's snapshot videos, but he created a (private) fabric mod that is able to record and replay.

https://youtu.be/h_yNLZZw0R8?t=363

I could see something similar being very useful for Minecraft Mod/Plugin debugging.

ryantheleach commented 2 days ago

I've also looked into Replay Mod, which mostly accomplishes it's replays by recording packets.

From the outset, it looks reasonable to be able to embed Replay Mod Replays as integration tests.