clojurewerkz / titanium

Clojure graph library built on top of Titan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor tests

zmaril opened this issue · comments

During the merge of Hermes and Titanium, many redundant tests were introduced. Testing is starting to slow down a ton. By combining these tests and then refactoring the remaining tests to minimize the number of times embedded cassandra is opened up, we can get the testing time down and keep development speedy.

https://travis-ci.org/clojurewerkz/titanium/builds/5957234

The last full Travis CI build took 15 minutes to test everything. This will quickly become impractical as the test suite grows. Refactoring tests to be more speedy should be done before any new features are added and this gets any worse.

Done as of efa383f
Embedded cassandra only opens up once per file (maybe three times in graph_test.clj). Runs in two minutes instead of 15 now.