Skip to content

Why are "describe" blocks in tests not recommended ? #582

@BenoitAverty

Description

@BenoitAverty

Hi,

I'm curious about this sentence in the docs :

You may optionally wrap them in describe() blocks for logical grouping but this is neither required nor recommended.

Why are describe blocks not recommended? Or is this just a "neutral" not recommended?

Note that I don't particularly disagree with it, it's just that I personally like nested tests and I'm open to change my habits if there are drawbacks to nested tests.

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