lotgd / core

Core functionality for Legend of the Green Dragon, a text-based RPG game.
GNU Affero General Public License v3.0
152 stars 15 forks source link

Refactor ModelTestCase so I can use it outside of the Core. #63

Closed austenmc closed 8 years ago

austenmc commented 8 years ago

I want to start using ModelTestCase as part of the modules' test suites. Perhaps Ill move it into a module of its own at some point.

austenmc commented 8 years ago

Hmm, actually I dont think I want this. It's cleaner to not use a config file in the modules for testing, and that's what I switched to env variables, but Im not sure I can avoid it or it's not worth avoiding, since we need to create full-fledged game objects within the module test cases. It will be a pain to maintain all the copies of config files, but ok.