Skip to content

Improve IDE support for assertions added with add_extension #103

Description

@krmozejko

I have some tests which check quite specific conditions. I need to repeat result processing and a few assertions every time, which results in code duplication and quite ugly, hard to understand test cases. Adding custom assertions with add_extension is a nice solution, but has one drawback - IDEs can't discover those assertions, which makes it hard to find out whether a proper assertion already exists.
Is it possible to work around that somehow? Is it a consequence of current implementation which can be improved or a limitation of IDEs coming from the dynamic nature of feature which cannot be overcome?

Ps. great library btw! 😉

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions