Skip to content

Testability and "Wait, it broke again?" #872

Open
@Salanto

Description

@Salanto

Testability is the hallmark of great software. Given we use Github Actions to get quick feedback on build errors on all platforms, it is only natural that we should consider the extra mile and start rewriting code with testability in mind.

Sadly, after reading through the major classes, it becomes obvious that AO2-Client has become so tightly woven that many features are not testable without a lot of overhead and hackery to get QTest to be able to properly test each individual segment, meaning we would spend a lot of time writing tests that may break simply due to some minor aspect changing and without an easy way to properly locate what exactly broke.

Moving forward contributions should be evaluated on grounds of testability as well to ensure that new code can be verified using a testing library of our choice to stop the guessing game of what broke this random feature today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalFor internal changes that do not affect the user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions