Comments (3)
using ppx_inline_test
v0.13.1
with dune
2.5.1
and ocaml-base-compiler.4.10.0
,
same result unfortunately:
file "backend/dune", line 6, characters 13-28:
6 | (pps ppx_inline_test)
^^^^^^^^^^^^^^^
Error: Library "ppx_inline_test" not found.
Hint: try:
dune external-lib-deps --missing --only-packages fullstack-reason @@default
error: command failed: 'dune' 'build' '--only-packages' 'fullstack-reason' (exited with 1)
esy-build-package: exiting with errors above...
error: build failed with exit code: 1esy: exiting due to errors above
from ppx_inline_test.
@hartmut27 it sounds like you need to opam install ppx_inline_test
, it's not clear it's the same problem as the initial comment.
@gabrielhdt Can you give a full reduced example? Just following what the documentation says works fine for me:
$ cat dune
(library
(name foo)
(inline_tests)
(preprocess (pps ppx_inline_test))
)
$ cat foo.ml
let%test _ = false
$ dune build @runtest
File "foo.ml", line 1, characters 0-18: <<false>> is false.
FAILED 1 / 1 tests
from ppx_inline_test.
I'll close this. If someone runs into a similar looking issue and sees this, please open a new issue with reproducible steps.
from ppx_inline_test.
Related Issues (20)
- Can't make recent ppx_inline_test work on Windows HOT 9
- v0.12.0 is incompatible with let operator syntax HOT 6
- Cannot run tests in bytecode mode HOT 3
- how to run tests for this package? HOT 1
- Cannot link on Windows (mingw) because of time_now HOT 9
- Exception-based error reporting is noisy HOT 4
- Name suffix for test modules HOT 2
- Pre/post hook for each test HOT 1
- doesn't work with explicit dependencies HOT 2
- Tests inside of module expression inside of function are ignored HOT 2
- command line arguments HOT 1
- non-ghost location in generated code HOT 3
- running a single test HOT 4
- "Error: ppx_inline_test: extension is disabled because the tests would be ignored (the build system didn't pass -inline-test-lib)" HOT 2
- Configuration to stop at first failure HOT 1
- [%name ...] returns an error (constant expected) HOT 6
- Embed errors in the AST instead of raising HOT 2
- Warning: overriding the purity of the primitive Base_am_testing: pure -> mutator HOT 2
- Is it possible to run an inline test in ocamldebug?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppx_inline_test.