Skip to content

DisciplineFSuite is not usable with IOSuite #210

@zainab-ali

Description

@zainab-ali

The DisciplineFSuite is probably meant to be used with IOSuite or SimpleIOSuite to run discipline tests with effects. For example:

object MyTests extends SimpleIOSuite with DisciplineFSuite[IO] {
 ...
}

However, it has its own spec function that replaces the function in IOSuite. This means that tests declared with the IOSuite DSL, such as with the test and pureTest functions, aren't run.

The TestName filtering logic in IOSuite is also not used. such as "mytest".ignore, or CI only checks, aren't performed.

This can be reproduced with scala cli:

scala-cli test https://gist.github.com/zainab-ali/5df82162f455f26d9fb4d7bc76341736

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