mirror of
https://github.com/WhatsApp/erlang-language-platform.git
synced 2025-12-23 12:26:48 +00:00
Summary: The `eqwalize_all_fails_on_bad_parse` test has become flaky because I added an additional file with errors to it, and the eqwalizer project parsing is non-deterministic. This meant it sometimes failed reported the errors from the new file, and sometimes from the original. Fix it by moving the `parse_error_a_cascade.erl` test file into the `diagnostics` test project instead. Reviewed By: ilya-klyuchnikov Differential Revision: D57149198 fbshipit-source-id: ba25136994853235eb2c776d1bc71585ae8d7fe0 |
||
|---|---|---|
| .. | ||
| buck_tests | ||
| diagnostics | ||
| end_to_end | ||
| eqwalizer/src | ||
| eqwalizer_callers | ||
| eqwalizer_tests | ||
| in_place_tests | ||
| linter | ||
| linter_bad_config | ||
| parse_error | ||
| standard | ||
| .gitignore | ||
| README.md | ||
Fixture erlang projects for e2e tests.
The key to confine ELP to a non-waserver project is to have:
- rebar.config
- .rebar.root
- build_info plugin (for now copy-pasted from waserver)
From this directory, you can manually test:
% elp parse-all --project . --to ~/tmp
Automated tests live in crates/elp/bin/main.rs
See also //whatsapp/elp_test/README.md for additonal end-to-end LSP tests.