Skip to content

Improve testing around the GDK report command

Overview

Currently, the related unit tests for the GDK report command heavily rely on mocking. Therefore, the current tests are weak and only represent a fraction of the actual behaviour.
This issue is about refactoring the mentioned tests and increasing testing security.

Impacted categories

The following categories relate to this issue:

Steps to replicate

  1. Run bundle exec rspec spec/lib/gdk/command/report_spec.rb.