Skip to content

Generic Test: Not Null if another column if not null #780

@culpgrant

Description

@culpgrant

Describe the feature

This is a little weird to explain but if you have two columns: column a and column b. Having a test to say if column a is null then column b should not be null.

This is especially helpful if you have a case when statement that you want to make sure is correct.

Describe alternatives you've considered

I dont see this as a generic test already - I did implement this as a test within my project that I thought other people might benefit from.

Additional context

Should be database agnostic.

Who will this benefit?

Teams who want to use testing more.

Are you interested in contributing this feature?

Yes! This would be my first contribution so a little guidance might be helpful

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions