erlang-language-platform/test_projects
Alan Zimmerman 20130c838f BE: fix flaky test
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
2024-05-09 02:17:59 -07:00
..
buck_tests Initial commit 2023-08-02 07:54:59 -07:00
diagnostics BE: fix flaky test 2024-05-09 02:17:59 -07:00
end_to_end Add E2E Test to verify no syntax errors for CAFs 2024-04-09 02:04:47 -07:00
eqwalizer/src Initial commit 2023-08-02 07:54:59 -07:00
eqwalizer_callers Add eqwalizer_caller test project 2024-04-03 09:20:33 -07:00
eqwalizer_tests Uncovered clause detection 2024-05-03 06:52:35 -07:00
in_place_tests Initial commit 2023-08-02 07:54:59 -07:00
linter elp lint: bringing in code action fixes 2024-04-11 03:06:25 -07:00
linter_bad_config Report errors reading 'elp lint' config file 2023-09-06 07:03:51 -07:00
parse_error BE: fix flaky test 2024-05-09 02:17:59 -07:00
standard Initial commit 2023-08-02 07:54:59 -07:00
.gitignore Initial commit 2023-08-02 07:54:59 -07:00
README.md Initial commit 2023-08-02 07:54:59 -07:00

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.