Testing Archives - {coding}Sight https://codingsight.com/category/database-development/testing/ Blog for SQL Server DBAs and Developers Fri, 07 Oct 2022 07:19:58 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://codingsight.com/wp-content/uploads/2021/10/cropped-Soсial_-Fb_180х180-1-32x32.png Testing Archives - {coding}Sight https://codingsight.com/category/database-development/testing/ 32 32 How AI Will Change Software Development and Testing https://codingsight.com/how-ai-will-change-software-development-and-testing/ Tue, 12 Jan 2021 16:24:40 +0000 https://codingsight.com/?p=11511 Artificial intelligence is the fuel for what we know as the fifth industrial revolution. Its capacities to impact and disrupt numerous industries are virtually unparalleled. It is no less true regarding software development and testing. While self-writing code is not yet a broadly commercialized technology, automation is more prevalent in writing and testing software. This …

The post How AI Will Change Software Development and Testing appeared first on {coding}Sight.

]]>
Automate Database Test Restore in SQL Server https://codingsight.com/automate-database-test-restore-in-sql-server/ Mon, 30 Sep 2019 22:57:22 +0000 https://codingsight.com/?p=7778 This article talks about automating the database restoration process which is often done manually by the DBA or the infrastructure team responsible for the management of database server(s) and database(s). This article also highlights the importance of automating database administration tasks such as database backup and restoration to ensure that consistency and reliability of production …

The post Automate Database Test Restore in SQL Server appeared first on {coding}Sight.

]]>
Simplifying Unit Testing Main Stored Procedure Which Also Calls a Utility Procedure https://codingsight.com/simplifying-unit-testing-main-stored-procedure/ Fri, 02 Nov 2018 13:17:19 +0000 https://codingsight.com/?p=5485 This article provides a walkthrough of database unit testing a stored procedure which contains a utility procedure within it. In this article, I am going to discuss a database unit testing scenario when a main stored procedure depends on a utility procedure and the main procedure needs to be unit tested in order to make …

The post Simplifying Unit Testing Main Stored Procedure Which Also Calls a Utility Procedure appeared first on {coding}Sight.

]]>
Art of Isolating Dependencies and Data in Database Unit Testing https://codingsight.com/art-of-isolating-dependencies-and-data-in-database-unit-testing/ Fri, 27 Apr 2018 12:29:38 +0000 http://codingsight.com/?p=4014 All the database developers more or less write database unit tests that not only help in detecting bugs early but also save a lot of time and efforts when the unexpected behavior of database objects becomes a production issue. Nowadays, there are a number of database unit testing frameworks such as tSQLt along with third-party …

The post Art of Isolating Dependencies and Data in Database Unit Testing appeared first on {coding}Sight.

]]>
Rules for Implementing TDD in Old Project https://codingsight.com/rules-for-implementing-tdd-in-old-project/ Fri, 18 Aug 2017 11:28:34 +0000 http://codingsight.com/?p=2056 The article “Sliding Responsibility of the Repository Pattern” raised several questions, which are very difficult to answer. Do we need a repository if the complete disregard of technical details is impossible? How complex must the repository be so that its addition can be regarded worth-while? The answer to these questions varies depending on the emphasis placed in …

The post Rules for Implementing TDD in Old Project appeared first on {coding}Sight.

]]>
Why Using Unit Tests is a Great Investment into High-Quality Architecture https://codingsight.com/why-using-unit-tests-is-a-great-investment-into-high-quality-architecture/ https://codingsight.com/why-using-unit-tests-is-a-great-investment-into-high-quality-architecture/#comments Tue, 13 Jun 2017 06:07:18 +0000 http://codingsight.com/?p=1600 I have decided to write this article in order to show that unit tests are not only a tool to grapple with regression in the code but is also a great investment into a high-quality architecture. In addition, a topic in the English .NET community motivated me to do this. The author of the article …

The post Why Using Unit Tests is a Great Investment into High-Quality Architecture appeared first on {coding}Sight.

]]>
https://codingsight.com/why-using-unit-tests-is-a-great-investment-into-high-quality-architecture/feed/ 2