Git Product home page Git Product logo

db_test_tools's Introduction

db_test_tools

A QA Tool Shed for SQL Databases

This project is about a common database on the server to provide analysis and testing tools for all databases. It uses stored procedures with dynamic SQL to make the tools more accessible to all users.

The project includes working examples of useful SQL for database analysis and verification. Since the tools are kept in a central location, they do not alter the data or structures inside of the applications under test. Likewise, since they are maintained in a centralized database, the tools do not have to be rebuilt everytime an application is restored or replaced.

Finally, this project takes advantage of the SSMS web browser widget to make it easy to find and use the tools.

The examples were created using Microsoft SQL Server 2016. High level items in this project include:

  1. Create a common database to house stored procedures for analysis and verification of application databases.
  • run anywhere in SSMS via dynmaic SQL (no need to select target database before running)
  • require user to input certain parameters to identify the application database
  • useful for scenarios where there are multiple (test) application databases on one server
  • useful to seperate analysis and verification objects so that they are outside of the application
  1. The Count Tool
  • common count table for all tables in application databases across the server
  • param to allow user to tag a given count, example: before process X, after process Y
  • param to allow user to reset count
  • param to allow user to query history without changing it
  • param to allow user to filter query results
  • the history table includes all application databases, but the stored proc only exposes one at a time -- advanced users can query the common table to compare multiple databases
  1. The Entity Analysis Tool
  • let user find all tables+columns based on search term
  • used for impact analysis and test planning
  1. The Tool Catalog
  • table to maintain listing of analysis and verification tools
  • includes link to web site to open a tool
  • includes comments on how to use the tool
  • includes instructions how to set SSMS toolbar to access a website with the SQL files to run a stored proc, including comments on usage

db_test_tools's People

Contributors

testmonger avatar

Stargazers

Konstantin Taranov avatar

Watchers

Konstantin Taranov avatar

db_test_tools's Issues

Any code examples?

Hi, Steve. Could you add some examples and code samples in this repo?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.