Skip to content

Consider revising API to use a consistent prefix #374

Description

@eschaton

One of the things that makes Check really useful is that it's very lightweight. However, it engages in a little bit of namespace pollution; instead of prefixing all of its symbols consistently with something like ck_ it sometimes uses prefixes (SRunner), sometimes abbreviations (TCase), and sometimes just the word (Suite).

It would make APIs easier to remember and complete—and make it less likely for Check to step on the toes of code under test—if everything used a consistent naming scheme and prefix. For example, ck_test_case instead of TCase, ck_test_suite instead of Suite, ck_runner instead of SRunner, and so on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions