When I run each unit test function (tests for sqld...
# squarelibraries
j
When I run each unit test function (tests for sqldelight related read and writes operations) of my class with the gutter icon next to them for android and ios target (kmm project) they all complete successfully. When I run the test from the gutter icon at the class level, it works fine for android but I get the following error for ios :
Copy code
executeNonQuery error | error code SQLITE_CONSTRAINT
co.touchlab.sqliter.interop.SQLiteExceptionErrorCode: executeNonQuery error
Invalid connection: com.apple.coresymbolicationd
I do clean up my test database after each test, should I do one more specific clean up at some point?
I found what I needed over #kotlin-native . A one year old thread suggested to call
sqlDriver.close
after each test, it did the trick 🙂