Skip to content

When using itOnly spec still runs all the tests. #156

Description

@wclr

When one uses itOnly to focus on the test, spec outputs result only for focused one, but still executes all the other tests, is this by design?

Seems this happens in case when pure test is used.

For example:

it "check some" do
  let res = 2 + 2
  res `shouldEqual` 4

This behaviour is prevented with for example putting pure unit in the test start:

it "check some" do
  pure unit
  let res = 2 + 2
  res `shouldEqual` 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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