aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-12-13quotest: cleanupKitsune Ral
2019-10-21Quotest: more work on test invocationKitsune Ral
Tests should be private slots, not public slots; and they are invoked through a QueuedConnection so that both sync and async tests could be processed uniformly with clear code.
2019-10-21Quotest: use clog instead of coutKitsune Ral
Because cout is not synchronised with stderr and the library's debug printing is not aligned with that from quotest. qDebug()/qWarn() would probably be even better, for consistency; but require switching from std::string to QString.
2019-10-21Quotest: derive TestManager from QCoreApplicationKitsune Ral
Also: joining the test room didn't survive being a test in its own right and has been reverted to be a part of setupAndRun().
2019-10-21tests/CMakeLists.txt: QMC -> Quotient; add Qt5::Test to depsKitsune Ral
2019-10-20Quotest: factor out tests into TestSuite; rework sync testsKitsune Ral
Synchronous tests now use QSignalSpy instead of connecting to the signal just before its emission.
2019-10-18TestManager::setTopic: add debug loggingKitsune Ral
2019-10-18qmc-example -> quotest, QMCTest -> TestManagerKitsune Ral
Also: some bits of refactoring in the test code to make it more extensible. Closes #352.