apace100 / apoli

MIT License
40 stars 46 forks source link

Rewrite testdata implementation #110

Closed MerchantPug closed 1 year ago

MerchantPug commented 1 year ago

The current testdata implementation is to write the testdata directory to the built jar if the ENVIRONMENT system veriable isn't production.

This isn't the most ideal way to do it as:

This PR moves the testdata directory's contents into src/test/resources/data, it additionally modifies the run configurations made by Loom in order to include the valid files within the src/test directory to only be used inside the developer run environment. You are able to include assets (such as resource bars), as well as classes too (in the src/test/java directory)