1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-25 22:53:22 +00:00
CC-Tweaked/projects
Jonathan Coates 8f92417a2f
Add a system for client-side tests (#1219)
- Add a new ClientJavaExec Gradle task, which is used for client-side
   tests. This:

   - Copies the exec spec from another JavaExec task.
   - Sets some additional system properties to configure on gametest framework.
   - Runs Java inside an X framebuffer (when available), meaning we
     don't need to spin up a new window.

   We also configure this task so that only one instance can run at
   once, meaning we don't spawn multiple MC windows at once!

 - Port our 1.16 client test framework to 1.19. This is mostly the same
   as before, but screenshots no longer do a golden test: they /just/
   write to a folder. Screenshots are compared manually afterwards.

   This is still pretty brittle, and there's a lot of sleeps scattered
   around in the code. It's not clear how well this will play on CI.

 - Roll our own game test loader, rather than relying on the mod loader
   to do it for us. This ensures that loading is consistent between
   platforms (we already had to do some hacks for Forge) and makes it
   easier to provide custom logic for loading client-only tests.

 - Run several client tests (namely those involving monitor rendering)
   against Sodium and Iris too. There's some nastiness here to set up
   new Loom run configurations and automatically configure Iris to use
   Complementary Shaders, but it's not too bad. These tests /don't/ run
   on CI, so it doesn't need to be as reliable.
2022-11-18 23:57:25 +00:00
..
common Add a system for client-side tests (#1219) 2022-11-18 23:57:25 +00:00
common-api Minor fixes and cleanup 2022-11-10 17:15:12 +00:00
core Various improvements to packaging 2022-11-17 09:26:57 +00:00
core-api Make the main mod non-null by default 2022-11-09 18:59:51 +00:00
fabric Add a system for client-side tests (#1219) 2022-11-18 23:57:25 +00:00
fabric-api Fix several issues with the Fabric API jar 2022-11-18 23:21:05 +00:00
forge Add a system for client-side tests (#1219) 2022-11-18 23:57:25 +00:00
forge-api Improve packaging of published jars 2022-11-08 16:43:27 +00:00
forge-stubs Move our public API into separate modules 2022-11-06 15:07:13 +00:00
lints Add a couple of errorprone plugins 2022-11-10 08:54:09 +00:00
mc-stubs Move the core API into a separate module 2022-11-04 21:41:59 +00:00
web Update project paths in our utility build scripts 2022-11-10 09:12:28 +00:00
ARCHITECTURE.md Various improvements to packaging 2022-11-17 09:26:57 +00:00