Skip to content

Extract unit tests for code readability? #240

@consideRatio

Description

@consideRatio

I have found it a bit hard to navigate the codebase and do review of code on github when tests are part of code files. I propose we migrate to have unit tests in sibling files, for example like done here: https://github.com/mozilla/webrtc-sdp/tree/master/src .

Currently our individual code files often go 1000+ lines of code, and that by itself makes it hard for my readability. I found myself thinking --- "hmmm maybe skip this test... then this code file don't grow as much"

Opinions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions