Find Jobs
Hire Freelancers

Write Mock Unit Tests for SQL Commands using MSTest and MOQ Framework - Repository Pattern

£20-100 GBP

Selesai
Disiarkan lebih dari 9 tahun yang lalu

£20-100 GBP

Dibayar semasa penghantaran
The current .NET project uses SQL Commands to perform ExecuteNonQuery, ExecuteScalar, ExecuteReader using Stored Procedures. It does not use the Entity Framework. I require Mock tests to be written for all these SQL command types (using the MOQ framework and MSTEST) so that they use a Mockable interface IDbConnection, IDataReader, ITransaction etc. The tests should simulate the commands hitting the database using MOQ. This just needs tests to cover the existing SQL commands so that they properly mocked. Some tests will required dummy data to be returned and some tests can simply be stubbed. Requirements are... - Write tests for SQL Commands (which will be provided) using MOQ and MSTEST - Repository Pattern - Comment the code IN DETAIL to describe how it works. - MOQ tests should cover ExecuteNonQuery, ExecuteScalar, ExecuteReader commands. - All tests should pass - Tests will not connect to any live database, all tests will return dummy data and only simulate connection.
ID Projek: 6654933

Tentang projek

2 cadangan
Projek jarak jauh
Aktif 10 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
Hello Sir, We have experience in writing MOCK test cases in MOQ and Rhino [login to view URL] would require to create Mock object for which we need the database details for which Mock test cases are to be written. Looking forward to providing more details on the Db object (on which Mock test cases are to be written). Eagerly awaiting for your positive response. Regards Tanmoy Moitra
£33 GBP dalam 2 hari
5.0 (1 ulasan)
1.9
1.9
2 pekerja bebas membida secara purata £37 GBP untuk pekerjaan ini
Avatar Pengguna
cover all important scenarios for unit testing in MSTEST. also i can provide solution of any issue shows up. I would be good help.
£35 GBP dalam 2 hari
0.0 (0 ulasan)
0.0
0.0
Avatar Pengguna
A proposal has not yet been provided
£40 GBP dalam 2 hari
0.0 (0 ulasan)
0.0
0.0

Tentang klien

Bendera UNITED KINGDOM
Honley, United Kingdom
5.0
18
Kaedah pembayaran disahkan
Ahli sejak Ogo 14, 2012

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.