Skip to content

A database testing project which will test and validate CRUD database operations.

Notifications You must be signed in to change notification settings

MdTanvirHossainTusher/Auto_Database_Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Database testing project

Problem Statement

The goal of this project is to run a Test to this website. After successfully running the test case, I will fetch some data from the previous test and add those as a record in the database. After this, I did some certain operatino such as add, update, delete and make validation of those operations.

To build and run the project

  1. Clone the repository by this command- git clone https://github.com/MdTanvirHossainTusher/DB.git

  2. Build the pom.xml file. If any dependencies requires updated version, then go to this website. Search for those particular dependencies and update the dependencies version no.

  3. Add you Gmail credentials on ClientCredentials.java file.

  4. Add database name and authenticators on ConfigData.json which is located here - src/test/resources/testdata/ConfigData.json.

  5. Run the WebApiTest.java testcase first.

  6. Check whether a record with the information of WebApiTest.java testcase added or not. If testcase runs succesfully, a record should be added.

  7. After successfully running WebApiTest.java, now run DBTest.java file.

  8. DBTest.java will add 10 records from the existing database records which contains repeating digits in it's id. Then update those record's information with the current testcase's data. At the end, it will delete the new added data.

  9. Check that only record from point-6 remains as a new entry in the database.

About

A database testing project which will test and validate CRUD database operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages