Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP/RFC: Add base for testing via pytest directly #861

Closed
wants to merge 3 commits into from

Conversation

blueyed
Copy link
Collaborator

@blueyed blueyed commented Jul 29, 2018

Includes #860.

The main motivation is to being able to use normal/other pytest based
tests.

Therefore this moves everything from conftest into test_integration
itself.
This uses Vim's --remote-expr and --remote-send, which should allow for
better testing of some things in the future.
@blueyed
Copy link
Collaborator Author

blueyed commented Jul 29, 2018

Hmm, Vim on Travis is missing clientserver feature.

@blueyed
Copy link
Collaborator Author

blueyed commented Jul 30, 2018

So many conflicts.. \o/

Hmm, Vim on Travis is missing clientserver feature.

We could either use a more recent Vim (e.g. via Docker - https://github.com/tweekmonster/vim-testbed/ makes this easier), or use Neovim instead (I've done something in this regard for deoplete (Shougo/deoplete.nvim#807)).
Given the right abstraction (e.g. only a eval and sendkeys interface) this could then be used for both of them.

But I think for now the existing vspec tests are not that bad after all, but the only downside is that you cannot really test a visible popup menu and other corner cases with it.

@blueyed blueyed closed this Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant