Skip to content

UFUG2601-CPP-Programming/Fall2024Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fall2024Project

Introduction

AutoTest is a program that automatically tests the minidb program. It will run the minidb program with a series of test cases and compare the output with the expected output.

AutoTest Example

Test Cases

  • For the functional test, there are five kinds of test cases: Basic, Simple, Intermediate, Complex and Advanced, each with two test cases.
  • For the format test, there are two test cases in the 5_format folder. test10 is for the 2 decimals of the float elements. And test11 is to test if users can save the database on the disk.

Usage

Windows

  1. compile the AutoTest program and get an executable binary file windows.exe
g++ windows.cpp -o windows
  1. run windows.exe with your minidb executable binary file
windows.exe C:\UFUG2601Project\minidb.exe

Unix

  1. compile the AutoTest program and get an executable binary file unix
g++ unix.cpp -o unix
  1. run unix with your minidb executable binary file
./unix /mnt/UFUG2601Project/build/minidb

Warning

  • You need to delete the previous output of the minidb program before running the AutoTest program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •