A Tool for Generating Test Data for Document-Oriented Database

Proceedings of The 4th International Conference on Applied Research in Engineering, Science and Technology

Year: 2021


[Fulltext PDF]

A Tool for Generating Test Data for Document-Oriented Database

Chulaluk Bumrungvet, Taratip Suwannasart



Document-oriented databases are widely used in numerous applications since they can store all types of data and do not require predefinition of the data type or structure. For testers, generating test data with existing tools will result in relational data with fixed structure. This may not be compatible with the nature of document-oriented databases, which can store various type of data structures. This paper presents a test data generation tool for document-oriented database called NSTG, a tool that allows testers to generate test data in different forms and compatible with document-oriented database. The tool can connect to a test database to analyze the existing data and extract the database schema. Testers can modify the database schema to generate test data that is consistent with the real data. The experimental results of the tool demonstrated that the tool can generate test data that is compatible with document-oriented database and consistent with the actual use.

Keywords: Database Testing; MongoDB; NoSQL; Software Testing; Test Data Generation.