際際滷

際際滷Share a Scribd company logo
Database Regression Testing made easy with DbFit. Presented to the  BCS - SIGIST Conference, London : Dec 2008 Colin Moore-Hill Senior Technical Test Analyst @ RWE IT UK
Introduction. Database Regression testing. >Why Test Databases  >How to test the database  DbFit >Background  >Wiki design An Act of Regression >Worked Example of the Regression Testing Closing >Future Links and learning opportunities. Regression Testing Databases Overview:
What! Test the Database?  Why? That¨s what DBA¨s are for !!     DBA¨s, no more than Developers, are human and prone to error and  while the examples shown later on are quite simple, some SQL queries  and commands can be programmed in themselves. Having a simple  repeatable test requiring little programming knowledge to create would  be of great assistance.  Why test the Database?     For a lot of businesses today, the data held on the database are the  most vital commercial asset they have.  Business Critical functions will  run off this data so surely it is logical to have regression tests to  validate that the data is being stored correctly. Regression Testing Databases Database Regression testing .
What should we Test.   There are two main areas of concern around the database: White Box C Code internally within the Database.    Existence checks for database schema (Tables)    Triggers, Views Constraints, Referential Integrity and  Existing Data Quality. Black Box C At the Interfaces    Stored Procedure    Functions    Data values - Persistence    Data values C Retrieved Regression Testing Databases Database Regression testing .
What is this Db FIT?   Developed out of the Fitnesse Acceptance testing framework for unit  testing and acceptance testing. It also gives DBA a neat tool to express  and manage tests in a relational language without knowledge of .net or  Java.  How is it Easier than unit testing?   As it is built on a Wiki interface, the creation of tests are quite straight  forward and could almost be written by business analysts or even the  client themselves. Why do I promote its use? Purely because I find it to be quite a useful tool and wish to spread the  word around  Regression Testing Databases DbFit .
Showing by example: Testing the Metadata, The physical structure of the database tables. Testing the Business logic, Usually implemented through Stored Procedures, Triggers and the Like. Testing the Data, both derived and static Easy Execution of Tests and Suites of tests. Regression Testing Databases DbFit in ^An Act of Regression ̄ .
Home Page C DbFit Server Home Page of the DbFit Server Regression Testing made easy with DbFit.
Properties Page - DbFit Server Properties Page of the DbFit Server Regression Testing made easy with DbFit. Properties Page - DbFit Server
Quickly find out the structure of Procedures and Tables. Quickly find out the structure of Procedures and Tables. Regression Testing made easy with DbFit.
A complete Suite of tests A complete Suite of tests Regression Testing made easy with DbFit.
A single Suite of tests A single Suite of tests Regression Testing made easy with DbFit.
A single design of a test A single design of a test Regression Testing made easy with DbFit.
Successful test for the structure of the Database Metadata. Successful test for the structure of the Database Metadata. Regression Testing made easy with DbFit.
A correction made to Test A correction made to Test....(Int changed to a Char) Regression Testing made easy with DbFit.
Regression execution of the test,  showing the change as an error Regression execution of the test  shows the Change as an error Regression Testing made easy with DbFit.
?  DbFit Homepage C  Fitnesse.org  ?  In the Head Sessions C www.skillsmatter.com ?   Gojko Adzic C gojko.net ?   The Hairy Tester -  HairyTester.mazota.com (Currently Offline)   Opportunities for futher knowledge:
THANK YOU VERY MUCH  FOR YOUR ATTENTION. Any Questions?

More Related Content

What's hot (8)

What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.
Confiz
?
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
Jay Jha
?
Web service testing using QTP (UFT)
Web service testing using QTP (UFT)Web service testing using QTP (UFT)
Web service testing using QTP (UFT)
NaveenKumar Namachivayam
?
Some useful tips with qtp
Some useful tips with qtpSome useful tips with qtp
Some useful tips with qtp
Sandeep
?
Advance Sql Server Store procedure Presentation
Advance Sql Server Store procedure PresentationAdvance Sql Server Store procedure Presentation
Advance Sql Server Store procedure Presentation
Amin Uddin
?
Into The Box 2018 | Assert control over your legacy applications
Into The Box 2018 | Assert control over your legacy applicationsInto The Box 2018 | Assert control over your legacy applications
Into The Box 2018 | Assert control over your legacy applications
Ortus Solutions, Corp
?
Sql storeprocedure
Sql storeprocedureSql storeprocedure
Sql storeprocedure
ftz 420
?
Apache JMeter - A Brief Introduction
Apache JMeter - A Brief IntroductionApache JMeter - A Brief Introduction
Apache JMeter - A Brief Introduction
agilitator
?
What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.What is UFT? HP's unified functional testing.
What is UFT? HP's unified functional testing.
Confiz
?
Performance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authenticationPerformance testing using Jmeter for apps which needs authentication
Performance testing using Jmeter for apps which needs authentication
Jay Jha
?
Some useful tips with qtp
Some useful tips with qtpSome useful tips with qtp
Some useful tips with qtp
Sandeep
?
Advance Sql Server Store procedure Presentation
Advance Sql Server Store procedure PresentationAdvance Sql Server Store procedure Presentation
Advance Sql Server Store procedure Presentation
Amin Uddin
?
Into The Box 2018 | Assert control over your legacy applications
Into The Box 2018 | Assert control over your legacy applicationsInto The Box 2018 | Assert control over your legacy applications
Into The Box 2018 | Assert control over your legacy applications
Ortus Solutions, Corp
?
Sql storeprocedure
Sql storeprocedureSql storeprocedure
Sql storeprocedure
ftz 420
?
Apache JMeter - A Brief Introduction
Apache JMeter - A Brief IntroductionApache JMeter - A Brief Introduction
Apache JMeter - A Brief Introduction
agilitator
?

Viewers also liked (13)

Effective Test Driven Database Development
Effective Test Driven Database DevelopmentEffective Test Driven Database Development
Effective Test Driven Database Development
elliando dias
?
Testing regression
Testing regressionTesting regression
Testing regression
Richie Lee
?
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Yavor Nikolov
?
需便りサ`ビス珂庄庄馨温ミ`マ 彿創
需便りサ`ビス珂庄庄馨温ミ`マ 彿創需便りサ`ビス珂庄庄馨温ミ`マ 彿創
需便りサ`ビス珂庄庄馨温ミ`マ 彿創
kaisya_account
?
Deliberate Practice (Agile Slovenia 2015)
Deliberate Practice (Agile Slovenia 2015)Deliberate Practice (Agile Slovenia 2015)
Deliberate Practice (Agile Slovenia 2015)
Peter Kofler
?
Hands on training on DbFit Part-II
Hands on training on DbFit Part-IIHands on training on DbFit Part-II
Hands on training on DbFit Part-II
Babul Mirdha
?
Open Source BI Overview
Open Source BI Overview Open Source BI Overview
Open Source BI Overview
Alex Meadows
?
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis
?
Agile WTF
Agile WTFAgile WTF
Agile WTF
Naresh Jain
?
Lynn Winterboer : Test automation
Lynn Winterboer : Test automation Lynn Winterboer : Test automation
Lynn Winterboer : Test automation
AgileDenver
?
Agile Methods and Data Warehousing (2016 update)
Agile Methods and Data Warehousing (2016 update)Agile Methods and Data Warehousing (2016 update)
Agile Methods and Data Warehousing (2016 update)
Kent Graziano
?
All you need to know about regression testing | David Tzemach
All you need to know about regression testing | David TzemachAll you need to know about regression testing | David Tzemach
All you need to know about regression testing | David Tzemach
David Tzemach
?
TDD - Test Driven Dvelopment | Test First Design
TDD -  Test Driven Dvelopment | Test First DesignTDD -  Test Driven Dvelopment | Test First Design
TDD - Test Driven Dvelopment | Test First Design
Quang Nguy?n B│
?
Effective Test Driven Database Development
Effective Test Driven Database DevelopmentEffective Test Driven Database Development
Effective Test Driven Database Development
elliando dias
?
Testing regression
Testing regressionTesting regression
Testing regression
Richie Lee
?
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Test-Driven Development with DbFit and Oracle database, BGOUG Conference, 201...
Yavor Nikolov
?
需便りサ`ビス珂庄庄馨温ミ`マ 彿創
需便りサ`ビス珂庄庄馨温ミ`マ 彿創需便りサ`ビス珂庄庄馨温ミ`マ 彿創
需便りサ`ビス珂庄庄馨温ミ`マ 彿創
kaisya_account
?
Deliberate Practice (Agile Slovenia 2015)
Deliberate Practice (Agile Slovenia 2015)Deliberate Practice (Agile Slovenia 2015)
Deliberate Practice (Agile Slovenia 2015)
Peter Kofler
?
Hands on training on DbFit Part-II
Hands on training on DbFit Part-IIHands on training on DbFit Part-II
Hands on training on DbFit Part-II
Babul Mirdha
?
Open Source BI Overview
Open Source BI Overview Open Source BI Overview
Open Source BI Overview
Alex Meadows
?
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Trivadis
?
Lynn Winterboer : Test automation
Lynn Winterboer : Test automation Lynn Winterboer : Test automation
Lynn Winterboer : Test automation
AgileDenver
?
Agile Methods and Data Warehousing (2016 update)
Agile Methods and Data Warehousing (2016 update)Agile Methods and Data Warehousing (2016 update)
Agile Methods and Data Warehousing (2016 update)
Kent Graziano
?
All you need to know about regression testing | David Tzemach
All you need to know about regression testing | David TzemachAll you need to know about regression testing | David Tzemach
All you need to know about regression testing | David Tzemach
David Tzemach
?
TDD - Test Driven Dvelopment | Test First Design
TDD -  Test Driven Dvelopment | Test First DesignTDD -  Test Driven Dvelopment | Test First Design
TDD - Test Driven Dvelopment | Test First Design
Quang Nguy?n B│
?

Similar to Sigist Presentation 091208 V2.0 (20)

Data Base Testing Interview Questions
Data Base Testing Interview QuestionsData Base Testing Interview Questions
Data Base Testing Interview Questions
Rita Singh
?
Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.
Serhii Kartashov
?
Database continuous integration, unit test and functional test
Database continuous integration, unit test and functional testDatabase continuous integration, unit test and functional test
Database continuous integration, unit test and functional test
Harry Zheng
?
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateDB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
Baha Majid
?
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Vladimir Bacvanski, PhD
?
Testing Big Data solutions fast and furiously
Testing Big Data solutions fast and furiouslyTesting Big Data solutions fast and furiously
Testing Big Data solutions fast and furiously
Katherine Golovinova
?
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod ColledgeDb As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
sqlserver.co.il
?
High Performance Jdbc
High Performance JdbcHigh Performance Jdbc
High Performance Jdbc
Sam Pattsin
?
Sybase job interview_preparation_guide
Sybase job interview_preparation_guideSybase job interview_preparation_guide
Sybase job interview_preparation_guide
NV Suresh Kumar
?
Tdd on play framework
Tdd on play frameworkTdd on play framework
Tdd on play framework
vuhaininh88
?
Building a Testable Data Access Layer
Building a Testable Data Access LayerBuilding a Testable Data Access Layer
Building a Testable Data Access Layer
Todd Anglin
?
Test-Driven Development Introduction
Test-Driven Development IntroductionTest-Driven Development Introduction
Test-Driven Development Introduction
Samsung Electronics
?
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
mdfachowdhury
?
App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012
App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012
App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012
SOASTA
?
Liquibase C a time machine for your data
Liquibase C a time machine for your dataLiquibase C a time machine for your data
Liquibase C a time machine for your data
Neev Technologies
?
BDD and Test Automation in Evalutionary Product Suite
BDD and Test Automation in Evalutionary Product SuiteBDD and Test Automation in Evalutionary Product Suite
BDD and Test Automation in Evalutionary Product Suite
Lasantha Ranaweera
?
QA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiously
QA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiouslyQA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiously
QA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiously
QAFest
?
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
Tieturi Oy
?
2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool
Database Architechs
?
10 Tips for Configuring Your Builds with Bamboo Specs
10 Tips for Configuring Your Builds with Bamboo Specs10 Tips for Configuring Your Builds with Bamboo Specs
10 Tips for Configuring Your Builds with Bamboo Specs
Atlassian
?
Data Base Testing Interview Questions
Data Base Testing Interview QuestionsData Base Testing Interview Questions
Data Base Testing Interview Questions
Rita Singh
?
Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.Testing database content with DBUnit. My experience.
Testing database content with DBUnit. My experience.
Serhii Kartashov
?
Database continuous integration, unit test and functional test
Database continuous integration, unit test and functional testDatabase continuous integration, unit test and functional test
Database continuous integration, unit test and functional test
Harry Zheng
?
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateDB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
Baha Majid
?
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Revolutionizing the Data Abstraction Layer with IBM Optim pureQuery and DB2
Vladimir Bacvanski, PhD
?
Testing Big Data solutions fast and furiously
Testing Big Data solutions fast and furiouslyTesting Big Data solutions fast and furiously
Testing Big Data solutions fast and furiously
Katherine Golovinova
?
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod ColledgeDb As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
Db As Behaving Badly... Worst Practices For Database Administrators Rod Colledge
sqlserver.co.il
?
High Performance Jdbc
High Performance JdbcHigh Performance Jdbc
High Performance Jdbc
Sam Pattsin
?
Sybase job interview_preparation_guide
Sybase job interview_preparation_guideSybase job interview_preparation_guide
Sybase job interview_preparation_guide
NV Suresh Kumar
?
Tdd on play framework
Tdd on play frameworkTdd on play framework
Tdd on play framework
vuhaininh88
?
Building a Testable Data Access Layer
Building a Testable Data Access LayerBuilding a Testable Data Access Layer
Building a Testable Data Access Layer
Todd Anglin
?
Test-Driven Development Introduction
Test-Driven Development IntroductionTest-Driven Development Introduction
Test-Driven Development Introduction
Samsung Electronics
?
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
Evaluating Test Driven Development And Parameterized Unit Testing In Dot Net ...
mdfachowdhury
?
App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012
App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012
App Dyanmics & SOASTA Testing & Monitoring Coverage, March 2012
SOASTA
?
Liquibase C a time machine for your data
Liquibase C a time machine for your dataLiquibase C a time machine for your data
Liquibase C a time machine for your data
Neev Technologies
?
BDD and Test Automation in Evalutionary Product Suite
BDD and Test Automation in Evalutionary Product SuiteBDD and Test Automation in Evalutionary Product Suite
BDD and Test Automation in Evalutionary Product Suite
Lasantha Ranaweera
?
QA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiously
QA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiouslyQA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiously
QA Fest 2019. Дмитрий Собко. Testing Big Data solutions fast and furiously
QAFest
?
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
TechDays 2013 Juhani Lind: Acceptance Test Driven Development With VS 2012
Tieturi Oy
?
2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool2010/09 - Database Architechs - Performance & Tuning Tool
2010/09 - Database Architechs - Performance & Tuning Tool
Database Architechs
?
10 Tips for Configuring Your Builds with Bamboo Specs
10 Tips for Configuring Your Builds with Bamboo Specs10 Tips for Configuring Your Builds with Bamboo Specs
10 Tips for Configuring Your Builds with Bamboo Specs
Atlassian
?

Sigist Presentation 091208 V2.0

  • 1. Database Regression Testing made easy with DbFit. Presented to the BCS - SIGIST Conference, London : Dec 2008 Colin Moore-Hill Senior Technical Test Analyst @ RWE IT UK
  • 2. Introduction. Database Regression testing. >Why Test Databases >How to test the database DbFit >Background >Wiki design An Act of Regression >Worked Example of the Regression Testing Closing >Future Links and learning opportunities. Regression Testing Databases Overview:
  • 3. What! Test the Database? Why? That¨s what DBA¨s are for !! DBA¨s, no more than Developers, are human and prone to error and while the examples shown later on are quite simple, some SQL queries and commands can be programmed in themselves. Having a simple repeatable test requiring little programming knowledge to create would be of great assistance. Why test the Database? For a lot of businesses today, the data held on the database are the most vital commercial asset they have. Business Critical functions will run off this data so surely it is logical to have regression tests to validate that the data is being stored correctly. Regression Testing Databases Database Regression testing .
  • 4. What should we Test. There are two main areas of concern around the database: White Box C Code internally within the Database. Existence checks for database schema (Tables) Triggers, Views Constraints, Referential Integrity and Existing Data Quality. Black Box C At the Interfaces Stored Procedure Functions Data values - Persistence Data values C Retrieved Regression Testing Databases Database Regression testing .
  • 5. What is this Db FIT? Developed out of the Fitnesse Acceptance testing framework for unit testing and acceptance testing. It also gives DBA a neat tool to express and manage tests in a relational language without knowledge of .net or Java. How is it Easier than unit testing? As it is built on a Wiki interface, the creation of tests are quite straight forward and could almost be written by business analysts or even the client themselves. Why do I promote its use? Purely because I find it to be quite a useful tool and wish to spread the word around Regression Testing Databases DbFit .
  • 6. Showing by example: Testing the Metadata, The physical structure of the database tables. Testing the Business logic, Usually implemented through Stored Procedures, Triggers and the Like. Testing the Data, both derived and static Easy Execution of Tests and Suites of tests. Regression Testing Databases DbFit in ^An Act of Regression ̄ .
  • 7. Home Page C DbFit Server Home Page of the DbFit Server Regression Testing made easy with DbFit.
  • 8. Properties Page - DbFit Server Properties Page of the DbFit Server Regression Testing made easy with DbFit. Properties Page - DbFit Server
  • 9. Quickly find out the structure of Procedures and Tables. Quickly find out the structure of Procedures and Tables. Regression Testing made easy with DbFit.
  • 10. A complete Suite of tests A complete Suite of tests Regression Testing made easy with DbFit.
  • 11. A single Suite of tests A single Suite of tests Regression Testing made easy with DbFit.
  • 12. A single design of a test A single design of a test Regression Testing made easy with DbFit.
  • 13. Successful test for the structure of the Database Metadata. Successful test for the structure of the Database Metadata. Regression Testing made easy with DbFit.
  • 14. A correction made to Test A correction made to Test....(Int changed to a Char) Regression Testing made easy with DbFit.
  • 15. Regression execution of the test, showing the change as an error Regression execution of the test shows the Change as an error Regression Testing made easy with DbFit.
  • 16. ? DbFit Homepage C Fitnesse.org ? In the Head Sessions C www.skillsmatter.com ? Gojko Adzic C gojko.net ? The Hairy Tester - HairyTester.mazota.com (Currently Offline) Opportunities for futher knowledge:
  • 17. THANK YOU VERY MUCH FOR YOUR ATTENTION. Any Questions?