- Notifications
You must be signed in to change notification settings - Fork14
Description
Dear developers of {dittodb},
I've been using {dittodb} for mocking an Oracle database. Even though it is not listed as one of the supported DB, it is possible to use it, even though it needs some manual actions.
The issue is that the names of the fixtures generated while recording are not the same ones as those that {dittodb} is looking for when running the tests. However, thanks to the error messages (such asError: Couldn't find the file DATA-HANDLER/SELECT-556993.R in any of the mock directories.), it is possible to rename the fixtures so that the global process would work. This would work as long as the number of generated fixtures during the recording remain small (less than 3 fixtures).
When the numbers of generated fixtures gets bigger, it become really difficult and tedious to match the generated fixtures to the good name.
So I have three questions:
- Is this bug expected as Oracle DB are not listed as supported?
- Would you think of a workaround (better that trying to match the names manually) to make {dittodb} works with Oracle DB?
- If changing names is the best workaround, would you think of a tip to make this easier (especially when more than 3 fixtures are generated)?
{dittodb} is really perfect for what I need to do (I had troubles with my RSLite test DB), and it would be great if I could use it to its max potential!
Thanks,
PS: it is the first time I create an issue in github, please tell me if I should do otherwise for this kind of questions.