pytest_lsp

Pytest LSP Crystal CI

LSP implementation for pytests in pure Crystal Version 1.0.0v will be available as soon we switch to LSP server library. Also LSP server library need to be 1.0.0v+ too.

Usage

with coc.nvim

  • Download latest pytest_lsp from release page or build it yourself
  • Add to the coc config (use :CocConfig to get there) file following lines
"languageserver": {
    "pytest": {
        "command": "<path to downloaded or build executable>",
        "filetypes": ["python"],
    }
}
  • write :CocRestart or restart vim to get it up and running

If you have any problems with this instalation process, please refer to coc.nvim language server guide. If you think that the problem is in pytest_lsp itself, then feel free to open an issue

with any other client

  • You can write a basic LSP client extention for your editor, which should support textSyncing and gotoImplementation

Roadmap

  • Support custom written fixtures (Unstable)
  • Support test functions (Unstable)
  • Add command to list all fixtures | tests
  • Add coc extention so one can install pytest_lsp by :CocInstall command
  • Rewrite to use LSP server library

Contributing

  1. Fork it ( https://github.com/teggotic/pytest_lsp/fork )
  2. Create your feature branch (git checkout -b feature/my_new_feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • teggotic Danylo Lapirov - creator, maintainer
Repository

pytest_lsp

Owner
Statistic
  • 1
  • 0
  • 0
  • 0
  • 0
  • over 4 years ago
  • March 2, 2020
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 13:33:43 GMT

Languages