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

add integration tests for dotnet-suggest shell shim scripts #293

Open
jonsequitur opened this issue Nov 6, 2018 · 5 comments
Open

add integration tests for dotnet-suggest shell shim scripts #293

jonsequitur opened this issue Nov 6, 2018 · 5 comments
Labels
Area-Completions Related to support for tab completion help wanted Extra attention is needed

Comments

@jonsequitur
Copy link
Contributor

No description provided.

@jonsequitur jonsequitur added the Area-Completions Related to support for tab completion label Nov 6, 2018
@wli3 wli3 added the help wanted Extra attention is needed label Nov 19, 2018
@wli3
Copy link

wli3 commented Nov 19, 2018

The only solution I can think of now is to boot up a docker. But

  1. Only one layer of docker is allowed. And build will have a dependency on docker.
  2. Even after the docker is boot up, how to pass a to docker terminal programmatically?

@wli3
Copy link

wli3 commented Nov 19, 2018

All dependency are, bash shell, published "end to end app" and dotnet-suggest. Maybe a folder and setting path are enough. It would be funny to run in C# tho. In this case, C# code are all test runner. And these c# code need xunit test runner to run, so 2 layers of test runner.

@wli3
Copy link

wli3 commented Nov 21, 2018

FYI if you want to read compgen and complete source code here is a link to a mirror https://github.com/mfragkoulis/bash-sgsh/blob/master/builtins/complete.def

@omajid
Copy link
Member

omajid commented Nov 21, 2018

Not sure if this helps, but I wrote up some code a while ago to programtically get completions for a command: https://github.com/redhat-developer/dotnet-bunny/blob/master/get-completions.sh. Usage:

./get-completions.sh dotnet p
pack publish

It does need the completion installed system-wide, though, which is why I suppose a container (or another isolated environment) might be handy.

@wli3
Copy link

wli3 commented Nov 21, 2018

Thanks! Let me see what i can do with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Completions Related to support for tab completion help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants