Skip to content

support unittest #13

@keewis

Description

@keewis

pytest supports running unittest.TestCase classes. To support it, we'd need to extract the definition line and check if it inherits from unittest.TestCase. However, python-mode does not contain a jump-to-definition function and so we'd either have to depend on something like jedi or directly ask python. Both options are not optimal. Another option would be to use pytest's --collect-only output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions