release-candidate / vscode-ocaml-expect-inline Goto Github PK
View Code? Open in Web Editor NEWThis extension lets you run OCaml Expect-tests and inline tests using the native Test Explorer
License: MIT License
This extension lets you run OCaml Expect-tests and inline tests using the native Test Explorer
License: MIT License
When there is a dune build
in watch mode, the extension should instead do an rpc request to dune rather than run its own dune.
Hi,
Running the tests in the dune repo for example doesn't quite work:
There appears to be a lot of flickering and it isn't obvious what is actually happening.
For reference, I have the OCaml platform extension also installed.
It would be nice if this extension used dune rpc also so that it can connect to a dune already in watch mode. At the moment, Dune disallows multiple dune processes in the same project due to one of them acquiring a lock.
Describe the bug
The VSCode's Testing tab does not show anything
My dune project's directory has this directory hierarchy (.ml files are omitted):
ProjectName
- dune-project
- ProjectName.opam
- bin
- dune
- lib
- dune
- test <- this is just a dummy directory, containing nothing
- dune
I think dune is correctly configured because my VSCode can successfully typecheck variables and highlight compilation errors from .ml files.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A list of tests are shown
Screenshots
Logs
If applicable, add logs of the extension (Output of
Expect and Inline Tests
), the Extension Host (Ouput ofExtension Host
) and Window (Output ofWindow
).
I would like to report, but where can I find these?
Example OCaml project
Environment (please complete the following information):
Additional context
When the extensions are waiting for Dune to run the tests, it appears that they are waiting for the lock to be released. However when pressing cancel the tests are not cancelled.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.