0

I am using SQLite InMemory DB to test my app, with Entity Framework Core and when I execute some queries like (select * from Users).

But when I try to do a stored procedure call dbo.GET_ALL_USERS", it fails because SQLite doesn't support stored procedures...

So, how do you test an app that uses stored procedures?

Can I convert the stored procedure to multiple queries?

Can I mock the result of the stored procedure?

marc_s
  • 704,970
  • 168
  • 1,303
  • 1,425

1 Answers1

0

I use tSQLt for unit testing my stored procedures in SQL Server https://tsqlt.org/

For MySQL, I use http://utmysql.sourceforge.net/