Hi. I am writing a contract that is layered on top of and depends on Colony.
In writing my tests, what I would like to do is to create a new colony only for the duration of the test. So once the test is complete, the colony would cease to exist. I am using Truffle for my testing.
Right now, every time I run my tests I end up creating a colony that persists and clutters up the “real” colonies. I haven’t figured out how to avoid this yet.
Thanks for any suggestions how to handle this. Sample code is appreciated.