Understand test oracles
Attempt to test a method in string with your tests and using the Oracles
Use Oracles to create better tests
Talk about converting to Dynamic string
Explain Oracles and how they work
Using Oracles to create better tests
Converting string to Dynamic string
We need to:
Create a directory called testing_2 in your cs23001 folder
Copy the files in shared/testing_2 to your new directory
Ensure that the provided string.cpp and string.hpp compile with no errors.
Run the provided string.cpp and string.hpp against your tests, and try to find and fix the bug in the provided code.
Use the provided Oracle to find the bug and fix it. The oracle is run with the command make oracle
The following should be true when you are done, NAMES MUST MATCH EXACTLY:
In your cs23001 directory you have created a directory named testing_2.
In the directory testing_2 you have the following files:
The fixed string.cpp and string.hpp files
Your string test files
There are NO executables besides the testoracle in the repository.
Your programs compile, run, and perform as specified.
Your programs follow the General Program Requirements.