Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Removed unit
Source Link
pacmaninbw
  • 26.1k
  • 13
  • 47
  • 114

Shell file that runs the unit test

Shell file that runs the unit test

Shell file that runs the test

Notice added Draw attention by pacmaninbw
Bounty Started worth 100 reputation by pacmaninbw
edited title Removed unit test tag
Link
pacmaninbw
  • 26.1k
  • 13
  • 47
  • 114

Unit Integration Test for Polymorphic data models that save data to MySQL

fixed an incomplete sentence. User prefernece for how to refer to them.
Source Link
pacmaninbw
  • 26.1k
  • 13
  • 47
  • 114

As noted by @TobySpeight in theirhis answer to Polymorphic data models that save data to MySQL and restore data from MySQL the test code should also be reviewed. TheirHis suggestion for automating the build to include the test makes some sense as well, and I will look into it. Currently the test program does fail if tests fail, but the shell scripts don't check for the failure.

If you are running Ubuntu 24.04 with g++14 you can build it. If you have MariaDB or MySQL installed you should be able to run the program if you so desire. You will need to replace the username and password.

As noted by @TobySpeight in their answer to Polymorphic data models that save data to MySQL and restore data from MySQL the test code should also be reviewed. Their suggestion for automating the build to include the test makes some sense as well, and I will look into it. Currently the test program does fail if tests fail, but the shell scripts don't check for the failure.

If you are running Ubuntu 24.04 with g++14 you can build it. If you have MariaDB or MySQL installed you should be able to run the program if you so desire. You will need to replace the

As noted by @TobySpeight in his answer to Polymorphic data models that save data to MySQL and restore data from MySQL the test code should also be reviewed. His suggestion for automating the build to include the test makes some sense as well, and I will look into it. Currently the test program does fail if tests fail, but the shell scripts don't check for the failure.

If you are running Ubuntu 24.04 with g++14 you can build it. If you have MariaDB or MySQL installed you should be able to run the program if you so desire. You will need to replace the username and password.

Source Link
pacmaninbw
  • 26.1k
  • 13
  • 47
  • 114
Loading