Download presentation
Presentation is loading. Please wait.
Published byDerrick Lang Modified over 8 years ago
1
By Durga Dasari
2
DbFit - DB Unit and Integration test tool Test-driven database development. Write readable, easy- to-maintain unit and integration tests for your database code. 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.
3
Why DbFit ? Easy to use - Tests are expressed and managed as tables - Web-Wiki front end Provides all the plumbing - Transaction management - Features bases on meta-data - Parameter mapping Runs inside the FitNesse - already integrated with lot of tools and libraries.
4
A Simple Fit framework 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. Fitnesse Wiki Hierarchies - SubWiki, Test Suites Page types - Suite, Test, Static Some Special pages - PageHeader, PageFooter - SetUp, SuiteSetUp - Inherited recursively by default ; can be override
5
Unit Test with DbFIT: Arange -> Act-> Assert Set up input data Execute a function or procedure Run a query and compare actual Vs expected data. Basic Command Query Insert Update Execute procedures Execute
6
Advanced features Inspect queries, tables, procedures to auto generate test tables and regression tests Store and compare queries Stand-lone mode for full control
7
Sample test
9
More info/Useful links http://dbfit.github.io/dbfit/docs http://www.slideshare.net/javornikolov/tdd-with-db-fit- and-oracle-bgoug-conference-20130518
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.