Tests
Unit tests
We don't currently have unit tests, but we should.
Which framework should we use?
- CppUnit seems to be "standard"
- Qt has an own testing framework
- CMake has some testing functionality (CTest)
Manual tests
GUI functionality is hard to unit-test. These are some tests which should be performed manually.
Flight table:
- Button focus does not change when a different cell of the selected flight is clicked
- Button focus does not change if the current flight is edited (and changed)
Database:
- Is the schema definition up to date? Call
./startkladde db:clear
and start - creating the database and connecting must work. If not: update the current schema