I would like to check that values inside sembast db are correct in a unit test. There is databaseFactoryMemory, but I need to test on the actual .db It is done in the sembast repo by calling the following path :
String dbPathFromName(String name) =>
join('.dart_tool', 'sembast', 'test', name);
How could I implement the same thing ?
Aucun commentaire:
Enregistrer un commentaire