Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 18, 2022. It is now read-only.
This repository was archived by the owner on Apr 18, 2022. It is now read-only.

Internalize test suite in favor of describe/it with suite options #13

@KyleJune

Description

@KyleJune

Currently this module has 2 different ways of writing test suites, either with TestSuite and test or describe and it. Initially I wrote TestSuite and test syntax as an easy way to write grouped tests without having to nest them in callbacks for each group layer like you currently have to with describe. If you have multiple layers of tests, you would have a lot of indentation in front of each line of your test. With TestSuite and test, all tests have the same base indentation level, you just pass in what group they belong to as an argument.

If I change the describe/it functions to optionally take a TestSuite or DescribeBlock or Symbol representing the test group and update describe to return it for passing into other describe/it function calls to make them children of it.

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