Skip to content

Example of how to test a lua plugin #8

@ckipp01

Description

@ckipp01

Thanks a ton for this! It was one of the first things I came across when wanting to start nvim-metals, and this has been super helpful.

Another really helpful thing to include (which I'm currently digging through other plugins to find) is how to actually test a plugin. For example, using busted normally requires a src directory instead of the lua directory. To someone new to Lua this isn't the easiest thing to figure out. Also, vim isn't defined when testing as a standalone plugin, so how do you get around that?

I think this would be a great addition. :)

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