# \[ANN\] VS Code Expect and Inline Tests extension

**URL:** <https://discuss.ocaml.org/t/ann-vs-code-expect-and-inline-tests-extension/11593>\
**Category:** Ecosystem\
**Tags:** announce\
**Created:** [March 5, 2023, 7:49pm UTC](https://discuss.ocaml.org/t/ann-vs-code-expect-and-inline-tests-extension/11593 "2023-03-05T19:49:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Release-Candidate](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/release-candidate/32/3550_2.png) [@Release-Candidate](https://discuss.ocaml.org/u/Release-Candidate)\
**Post date:** [March 5, 2023, 7:49pm UTC](https://discuss.ocaml.org/t/ann-vs-code-expect-and-inline-tests-extension/11593/1 "2023-03-05T19:49:01Z")

</div>

Hi, I’ve just released a VS Code extension to integrate [PPX Expect](https://github.com/janestreet/ppx_expect) and [PPX Inline Test](https://github.com/janestreet/ppx_inline_test) to VS Code.  
It also works in combination with [Alcotest Test Explorer](https://marketplace.visualstudio.com/items?itemName=release-candidate.vscode-ocaml-alcotest-test-adapter)

[Expect and Inline Tests](https://marketplace.visualstudio.com/items?itemName=release-candidate.vscode-ocaml-expect-inline)  
[GitHub: VS Code Expect and Inline Tests](https://github.com/Release-Candidate/vscode-ocaml-expect-inline)

It always adds/updates/deletes expect and inline tests when opening or saving an OCaml source file. By default, it also runs all inline tests of all inline test runners to discover tests on startup. If this takes too long or you don’t like that, you can disable that behavior in the settings. The `Refresh Tests` button in the upper right of the Test Explorer view also runs all expect and inline tests to fill the tree.

---

_[View the full topic](https://discuss.ocaml.org/t/ann-vs-code-expect-and-inline-tests-extension/11593)._
