Data Driven Testing (DDT) is a method to structure tests. It is recommended for a huge set of data which may grow in the future. Code has to be written only once and new data can be fed into the test without touching the code at all which is the biggest advantage of this strategy. Data can be load from a file or a database. I would like to show how this works in a small example with the addressbook. One example of it is available in every Squish edition. As the title already told you we are going to fetch data from a SQLite database.

SQLite driven testing using Javascript