Is there a way to unit test data under moor sqlite db which is in application directory?

530 Views Asked by At

Im trying to perform unit testing on moor sqlite db but unable to do it because it tries to fetch the db from path provider(file path) which fails in unit testing file. Mock framework is not working in this case. Is there any workaround to get path containing db?

0

There are 0 best solutions below