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 tests for autocompletion features #426

Closed
rberenguel opened this issue Apr 8, 2018 · 1 comment
Closed

Add tests for autocompletion features #426

rberenguel opened this issue Apr 8, 2018 · 1 comment

Comments

@rberenguel
Copy link
Contributor

rberenguel commented Apr 8, 2018

Currently there is no way of testing autocompletion functionality. Autocomplete helpers for Zsh and Bash, Autocomplete functionality is provided with the Autocomplete command.

This autocomplete command can be invoked by invoking the autocomplete method

private def autocomplete(cmd: Commands.Autocomplete, state: State): Task[State] = Task {
or via command line with bloop autocomplete --format SHELLTYPE --mode MODE --command COMMAND Comparing the output with the expected result should get this covered

@jvican jvican added the cli label Apr 8, 2018
@jvican jvican changed the title Add tests for autocompletion functionality for Bash and Zsh Test autocompletion features Nov 22, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 4, 2018
This commit enable bloop to return testsFQCN in specified project
using `bloop autocomplete --format <shell> --mode testsfqcn <project>`.

scalacenter#426
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 4, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
…ject <project>`

This commit enable bloop to return testsFQCN in a project
using `bloop autocomplete --format <shell> --mode testsfqcn --project <project>`.

scalacenter#426
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
…ject <project>`

This commit enable bloop to return testsFQCN in a project
using `bloop autocomplete --format <shell> --mode testsfqcn --project <project>`.

scalacenter#426
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
…ject <project>`

This commit enable bloop to return testsFQCN in a project
using `bloop autocomplete --format <shell> --mode testsfqcn --project <project>`.

scalacenter#426
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 5, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
…ject <project>`

This commit enable bloop to return testsFQCN in a project
using `bloop autocomplete --format <shell> --mode testsfqcn --project <project>`.

scalacenter#426
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
tanishiking added a commit to tanishiking/bloop that referenced this issue Dec 6, 2018
jvican pushed a commit to tanishiking/bloop that referenced this issue Dec 27, 2018
…ject <project>`

This commit enable bloop to return testsFQCN in a project
using `bloop autocomplete --format <shell> --mode testsfqcn --project <project>`.

scalacenter#426
jvican pushed a commit to tanishiking/bloop that referenced this issue Dec 27, 2018
jvican pushed a commit to tanishiking/bloop that referenced this issue Dec 27, 2018
jvican pushed a commit to tanishiking/bloop that referenced this issue Dec 27, 2018
@jvican jvican changed the title Test autocompletion features Add tests for autocompletion features Dec 27, 2018
@jvican
Copy link
Contributor

jvican commented Dec 27, 2018

#749 linked to this ticket but it's not fixing it: this ticket is mostly about testing the autocompletion features we have, whereas the PR I've just merged adds support for discovered test classes. Just a FYI for a motivated contributor that wants to pick this up 😄

jvican added a commit that referenced this issue Dec 29, 2018
Add basic autocompletion tests for project autocompletion. The current
tests are basic and will be expanded in the future (contributions are
welcome).

Fixes #426
@jvican jvican closed this as completed in a7f2b79 Dec 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants