Skip to content

Unit Tests

Michael Faath edited this page Jul 27, 2015 · 2 revisions

Script to add new tests

The create-tests.sh script can be found in src/tests. Copy it into a new folder within the test-directory and execute it to automatically generate the pro/cpp/h files.

How to execute the tests

Add CONFIG+=tests to the qmake arguments for the GLIMPSE app.

Tests

List of tests we have and test we don't have yet.

Timings etc.

  • PeriodicTiming
  • CalendarTiming
  • OnOffTiming
  • ImmediateTiming
  • TimingFactory
  • Timer

Scheduling

  • Scheduler
  • TaskExecutor
  • TaskValidator
  • SchedulerStorage

Controller

  • LoginController (register/login)
  • TaskController
  • CrashController
  • NtpController
  • ReportController
  • ConfigController

Misc

  • MeasurementFactory
  • Webrequester with Requests and Responses