Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Test utils need to be more modular #400

Open
gideonthomas opened this issue Oct 9, 2014 · 0 comments
Open

Test utils need to be more modular #400

gideonthomas opened this issue Oct 9, 2014 · 0 comments

Comments

@gideonthomas
Copy link
Contributor

With the new redis patch, tests/lib/util.js relies on a redis server as it starts a server every time it is required in. However, there are several methods inside util.js such as ensureFileSystem, etc. that do not need the redis server running to be used.

It is probably a good idea to rip this code and those alike from util.js and put them in a separate file so that we don't always need redis to run tests that don't really need them. Then we can just require these new files into these kind of tests and into util.js to be used as needed.

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

No branches or pull requests

1 participant