vscode-ocaml-platform icon indicating copy to clipboard operation
vscode-ocaml-platform copied to clipboard

Add a test explorer

Open tmattio opened this issue 4 years ago • 1 comments

Similar to https://marketplace.visualstudio.com/items?itemName=LittleFoxTeam.vscode-python-test-adapter

This should use Dune RPC to get the list and status of tests

tmattio avatar Oct 05 '21 14:10 tmattio

By the way, VSCode now has a native testing interface and API: https://code.visualstudio.com/api/extension-guides/testing.

There are a couple of extensions already:

  • https://marketplace.visualstudio.com/items?itemName=release-candidate.vscode-ocaml-expect-inline
  • https://marketplace.visualstudio.com/items?itemName=release-candidate.vscode-ocaml-alcotest-test-adapter

Although it would still be nice of OCaml Platform provided some support because it probably interacts better with opam and dune than each extension trying to hack something together on its own.

sim642 avatar May 27 '23 17:05 sim642