Skip to content

Commit

Permalink
Adds simple documentation for the test executions code lenses (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Étienne Lévesque authored Jul 19, 2021
1 parent 00023f4 commit f5c2a29
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,30 @@ Check the output log by opening `View > Output` and selecting "ElixirLS" in the

Check the developer console by opening `Help > Toggle Developer Tools` and include any errors that look relevant.

## Experimental features

### Test code lenses

This feature allows ElixirLS to provide code lenses that help developers easily execute tests. This feature is currently
experimental because of a few known issues as well as a lack of large scale testing.

#### Example

![Test Lenses Example](https://raw.githubusercontent.com/elixir-lsp/elixir-ls/master/images/test_lens_example.gif)

#### Configuration

```jsonc
{
// Enable or disable test lenses. Defaults to false.
"elixirLS.enableTestLenses": true
}
```

#### Known issues

- The generated command sometimes fails to properly execute tests in umbrella apps. See [this comment](https://github.com/elixir-lsp/elixir-ls/issues/438#issuecomment-871861880) for more details.

## Contributing

### Installation
Expand Down
Binary file added images/test_lens_example.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f5c2a29

Please sign in to comment.