Skip to content

Tests on optional fields may not actually be testing much #365

Closed

Description

@jamillambert

If an RPC call returns an optional field and it's empty the test is not actually testing that much.

In a perfect world we would ensure every optional field is tested both in the case it returns some and none.

Similar to #291.

Activity

  1. tcharding commented on Sep 14, 2025

    @tcharding
    Member

    A perfect argument for #58

  2. jamillambert commented on Aug 11, 2026

    @jamillambert
    CollaboratorAuthor

    Closing since all development has now shifted to forgejo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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