You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often run the whole test suite in one directory, while actively develop and run tests in another directory. So sometimes two tests run on the same Mongoid DB and "clear each other out" (Mongoid doesn't have transactions or something like that).
So: is it possible to tell spork to connect to a DB other than the normal test DB?
Thanks anyway for this great tool.
The text was updated successfully, but these errors were encountered:
When you talk "run the whole test suit in one directory, while actively develop....in another directory", this means two different code bases, sharing the same database configuration?
If the answer is true, you can just change the configuration for one of them. This solution may be a little foolish, but sometimes the easiest way is the best. :)
I often run the whole test suite in one directory, while actively develop and run tests in another directory. So sometimes two tests run on the same Mongoid DB and "clear each other out" (Mongoid doesn't have transactions or something like that).
So: is it possible to tell spork to connect to a DB other than the normal test DB?
Thanks anyway for this great tool.
The text was updated successfully, but these errors were encountered: