oss-slu / Mouser

GNU General Public License v3.0
1 stars 7 forks source link

Added database tests #137

Closed aobermiller closed 1 year ago

aobermiller commented 1 year ago

Fixes #134

What was changed?

Added a new file called database_test.py which contains the automated testing for our database functions

Why was it changed?

Previously we had no unit testing in place, as such adding unit-testing was required in order to insure the functionality of the code.

How was it changed?

The testing file uses a dummy databases to check the behaviors of the ExperimentDatabase functions.

16 unittests were created to test every function that returns a value in ExperimentDatabase class

loganwyas commented 1 year ago

@aobermiller What's the progress on this?

aobermiller commented 1 year ago

Just pushes my last changes. I forgot to do it last night my bad! Its ready now

aobermiller commented 1 year ago

@loganwyas forgot to notify you my bad