How to fake/mock sequences
I’m creating various unit tests for our database using the tSQLt framework. Many of our stored procedures insert records into various tables. These procedures directly call our sequences to create IDs for the records to be inserted:
How to fake/mock sequences
I’m creating various unit tests for our database using the tSQLt framework. Many of our stored procedures insert records into various tables. These procedures directly call our sequences to create IDs for the records to be inserted:
tSQLt – How to fake/mock sequences
I’m creating various unit tests for our database using the tSQLt framework. Many of our stored procedures insert records into various tables. These procedures directly call our sequences to create IDs for the records to be inserted: