Skip to content

test: tests need more love #1888

@Suor

Description

@Suor

There are several issues with tests, which make them annoying and less efficient part of developer workflow (staging is fine). Here is a list:

  • updater and analytics processes are started during tests
  • errors are wrapped in friendly messages, which bloats output
  • debug log level bloats output
  • temporary dirs not cleared tests: clean up temp dirs after tests #1770
  • tests are slow

Some of this is either fine or must in staging environment, like DEBUG log level and tests being slow, however, this inhibits developers performance.

On tests being slow. Ramdisk or mocked file system access might be used to speed them up in depeveloper environment, while running same as now on staging.

Metadata

Metadata

Assignees

Labels

p3-nice-to-haveIt should be done this or next sprinttestingRelated to the tests and the testing infrastructure

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions