Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

World-building environment #1

Open
aaron-harris opened this issue Oct 31, 2017 · 0 comments
Open

World-building environment #1

aaron-harris opened this issue Oct 31, 2017 · 0 comments

Comments

@aaron-harris
Copy link
Member

aaron-harris commented Oct 31, 2017

In writing my first test using this module, I find myself spending a lot of time writing the code that sets up the environment appropriately (e.g., "ensure enough of the world is loaded, then put dirt here, here, and here"). It's not especially complicated for my particular use-case (yet), but I'm guessing that this sort of thing is a common enough need across enough different modules that I think it may be worth building an extension of ModuleTestingEnvironment that handles some of this for you.

I've been using this code as an example; @kaen has set up a DSL for concisely encoding the world template for the test. The extension I'm envisioning would be similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant