Jaguar-dart / jaguar_orm

Source-generated ORM with relations (one-to-one, one-to-many, many-to-many), preloading, cascading, polymorphic relations, etc
https://jaguar-dart.github.io
BSD 3-Clause "New" or "Revised" License
217 stars 52 forks source link

Is there any plan to write a test adapter for model testings? #130

Open elnurvl opened 5 years ago

elnurvl commented 5 years ago

It seems, there is not an adapter written specifically for testing. It would be nice to have an adapter which utilizes memory instead of disk.

tejainece commented 5 years ago

Wouldn't that involve implementing a whole database?

tejainece commented 5 years ago

If someone implements an in-memory SQL database for Dart, I will implement an adapter for it.

tejainece commented 5 years ago

What do you think about similar solution: https://github.com/DATA-DOG/go-sqlmock