Skip to content

Unknown marking detected by pytest: pytest.mark.task #2536

Closed
@eirnym

Description

@eirnym

This marker seems to be not defined anywhere on resources given to a student (see docs folder). Thus with typical installation using virtual environment with only pytest and pytest-cache installed as suggested in TEST.md file, a student will get a warning such as below. I suggest to extend documentation or a setup, which student downloads using exercism command by including this mark at least as suggested in official documentation

filename_test.py: PytestUnknownMarkWarning: Unknown pytest.mark.task - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
    @pytest.mark.task(taskno=5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions