OpenBagTwo / EnderChest

syncing and linking for all your Minecraft instances
https://openbagtwo.github.io/EnderChest/
GNU General Public License v3.0
3 stars 2 forks source link

Create a test CLI entrypoint #96

Closed OpenBagTwo closed 11 months ago

OpenBagTwo commented 1 year ago

GIVEN Alex wants to ensure that the version of EnderChest they've installed is working with their system AND she has installed the EnderChest with the [test] extras (i.e. pipx install enderchest[test])

WHEN they open a terminal and run the command:

enderchest test

THEN EnderChest's unit tests suite will be run and give Alex a report on which tests are passing, failing and being skipped

SO that Alex can know if EnderChest isn't working for some reason

Notes

This is mostly because I can't figure out how to have pytest run against a package installed via pipx (#88)

OpenBagTwo commented 12 months ago

This is super easy, for reference: https://github.com/OpenBagTwo/gsb/pull/49

(Note: EnderChest doesn't use Click, so the CLI implementation will be a little more manual, but it should still be extremely straightforward)