Write Mock tests for ExecuteReader, ExecuteNonQuery, ExecuteScalar commands using MOQ
£20-100 GBP
Em Andamento
Publicado há mais de 9 anos
£20-100 GBP
Pago na entrega
I have a VB.NET Project with SQL Commands using SqlServer.
I require Mock tests written for each of the commands using the MOQ testing Framework and MSTest for the .NET SQL commands.
Requirements
1. You will mock database inserts (inserts will be stubbed and will not be inserted into an actual database) however you will build up a list and count the number of times the insert was performed using the parameter values passed in.
2. You will mock the DataReader object by passing in dummy values and testing the values are as expected.
3. You will write Mock tests and stubs for SQL commands so that no inserts are performed to the actual database.
4. The MOQ tests can be written in C# or VB.NET