This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test
Horacio Sanson bafe1c0fd6
3560 add vim 8.2 and nvim 0.4 to ci tests (#3561)
* Add vim82 and neovim04 to CI tests.

* Fix test_sign_column_hightlighting test.

In vim82 with verbose=1 the output of highlight command changes breaking
the ale#sign#SetUpDefaultColumnWithoutErrorsHighlight(). This commit
forces verbose=0 when the method starts and restores the previous value
before exiting.

* No return values in vim82 returns a numeric value instead of a empty string.

* Fix test_reek_handler test

The FuzzyJSONDecode() method catches E474 when it fails to parse the
input as JSON but Vim8.2 throws E491 instead. This commit modifies the
function to catch both E474 or E491.

* Fix perl6 handler test.

Perl6 handler catches json parse errors using the E474 error but in
Vim82 it changed to E491. This commit modifies the handler so both
errors are considered.

* Fix list opening tests.

In Vim 8.2 the call `range(1, bufnr('$'))` always returns quickfix
buffers no matter if they are closed or not. Using `ls` does not show
them but the above range will always include them.

This new behavior breaks the ale#list#IsQuickfixOpen() method that in
turn breaks many other things. This commit fixes this by using the
getqflist() and getloclist() methods instead.

* Fix test updates loclist test.

For some reason in Vim 8.2 the sign offset seems to not reset between
tests causing the sign_id to not match in the Assert. When the test is
run individually it passes but when run as part of the whole suite the
sign_id is off by one.

Forcing the offset in the test setup seems to fix the issue.

* Fix omnifunc completion test.

For unknown reasons the SetCompletionResponse tests fail in Neovim 0.2
and 0.4. Unfortunatelly the only solution I found is to disable them
for neovim.

* Fix linter warnings

* Fix smoker test.

Add vim 8.2 to the list of versions that need some retires due to
randomly failing tests.

* Add docker image build job.

Trying some clever trick to build the docker image if not available
locally or in Docker hub. It uses the Dockerfile md5 checksum as tag so
only when changes on that file occur will the image be downloaded or
build.

* Add labels to Docker image

* Remove tests for middle versions 8.1 and 0.3.5

* Use same vader commit as appveyor

* Implement image push to Docker Hub

Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-01-27 19:52:24 +00:00
..
.config/nvim Run all tests in NeoVim, improve the test script, and make all tests pass for NeoVim 2017-05-12 20:38:52 +01:00
ada_files Add gnatpp fixer for Ada 2019-07-01 20:50:02 -04:00
ant-test-files Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
command_callback refactor(erlang/dialyzer): remove file placeholder from options 2021-01-23 19:07:26 +01:00
compile_database_perf Improve perf for compile dbs in large projects 2019-01-06 00:41:57 -08:00
completion 3560 add vim 8.2 and nvim 0.4 to ci tests (#3561) 2021-01-27 19:52:24 +00:00
csslint-test-files Fix #260 automatically set .csslintrc files from ancestor directories 2017-03-29 00:56:39 +01:00
cucumber_fixtures/features Add cucumber checker for cucumber files 2018-04-20 22:54:29 -04:00
d_files dfmt support (#2662) 2019-09-10 20:54:14 +01:00
dart_files Added dartfmt fixer (#1683) 2018-07-01 13:55:41 +01:00
elixir-test-files new fixer elixir mix format 2017-10-22 19:20:38 -04:00
elm-test-files fallback to elm if elm-tests isn’t available 2019-01-04 09:55:35 +02:00
ember-template-lint-test-files feat(template-lint): Read from stdin (#2622) 2020-08-31 09:26:33 +01:00
eslint-test-files fixers/xo: support typescript options 2021-01-22 09:23:53 -06:00
fix Close #3333 - Add an ALECompletePost event 2020-09-08 21:40:10 +01:00
fixers Merge pull request #3521 from hsanson/3498-change-standardrb-fixer-to-use-stdin 2021-01-23 19:28:41 +09:00
flow Fix #246 Don't run flow if there's no .flowconfig 2017-02-10 22:47:56 +00:00
go_files Add fixer for Go modules (#1873) 2018-09-19 19:33:23 +01:00
gradle-test-files Kotlin and general Gradle support. (#745) 2017-07-10 23:03:36 +01:00
hamllint-test-files force add test fixtures for hamllint 2017-10-25 21:35:24 +02:00
handler Merge pull request #3227 from Ma27/nixunstable-error-fmt 2021-01-25 13:53:09 +09:00
javascript_files added importjs fixer 2017-12-05 00:37:31 +09:00
json_files Support fixing JSON files with fixjson 2018-01-24 10:36:31 +00:00
jsonlint-test-files support jsonlint local executable 2019-03-15 16:21:48 -05:00
kotlin_files Add ktlint fixer support. 2019-01-20 19:39:47 -06:00
lsp Support for LSP/tsserver Code Actions (#3437) 2020-11-14 10:15:17 +00:00
lua_files Add luafmt fixer (#3289) 2020-11-21 15:59:50 +00:00
markdown_files Add textlint for Asciidoc and add it to Fixers (#2193) 2019-01-10 18:53:45 +00:00
maven-test-files Add tests for maven.vim file 2020-10-02 10:03:14 +02:00
nim-test-files/with-git/src Add support for nimlsp (#2815) 2019-10-17 17:32:31 +01:00
nix Add rnix-lsp for Nix diagnostics and completion 2021-01-23 13:23:14 +01:00
ocaml-test-files add ocamlformat support 2018-08-26 13:47:56 +02:00
phpcs-test-files Fix some escaping and make some tests set filenames consistently 2017-06-21 22:33:34 +01:00
prettier-test-files Set prettier working directory to where .prettierignore is (#3101) 2020-08-28 08:14:50 +01:00
puppet-test-files Start of vader tests for puppet root detection 2018-07-05 21:25:03 +02:00
python Add TypeScript autoimport support for deoplete (#2779) 2020-01-01 19:00:41 +00:00
python-test-files/python-package-project Test for Python project root directory 2019-05-19 09:51:26 -04:00
python_fixtures/pipenv Add python_[linter]_auto_pipenv options for python linters (fixes #1656) 2018-09-15 22:10:46 -04:00
reasonml_files refmt fixer for ReasonML 2017-10-29 21:48:28 +01:00
ruby_fixtures Add solargraph.yml file as root path search file. 2018-09-05 07:12:04 +09:00
rust_files add rustfmt fixer 2017-10-21 12:31:49 -05:00
scala_fixtures Changed sbtserver to just work off of the address variable 2018-09-01 21:03:29 -04:00
script Exclude grandfathered-in non-snakecased lints 2021-01-01 14:48:10 -08:00
sign Make it easier to run tests locally 2020-08-16 21:20:08 +01:00
slimlint-test-files slimlint: Search for .rubocop.yml and use it 2017-09-15 18:56:59 +02:00
smlnj Detect and use CM files for smlnj (#884) 2017-09-03 19:56:14 +01:00
swift-test-files [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
swiftlint-test-files Add support for Pod based SwiftLint (#2122) 2018-12-07 15:20:58 -07:00
terraform_files Add terraform-lsp integration (#2758) 2020-04-20 16:02:31 +01:00
test_c_projects Merge pull request #3178 from sudobash1/expand_at 2020-08-19 00:15:34 +01:00
test_cpp_project fix: Force add .astylerc in test_cpp_project 2020-07-30 09:58:14 -04:00
tex_files Add support for latexindent (#2387) 2019-04-13 13:21:59 +01:00
tflint-test-files/foo Add tflint fot Terraform 2017-10-26 19:37:04 +01:00
top Improve mypy handling a little bit more 2017-01-20 17:30:34 +00:00
typescript feat: Add Deno lsp support 2021-01-22 19:06:53 +01:00
util #3325 - ale#path#BufferCdString now generates %s:h 2020-08-28 17:46:43 +01:00
xo-test-files/monorepo fixers/xo: support monorepos 2021-01-22 09:23:54 -06:00
dumb_named_pipe_server.py Feature: Add support for named-pipe sockets for LSPs (#3509) 2021-01-26 20:43:17 +00:00
dumb_tcp_client.py #830 Implement a socket wrapper API for use with LSP connections 2018-07-02 23:49:47 +01:00
dumb_tcp_server.py #830 Implement a socket wrapper API for use with LSP connections 2018-07-02 23:49:47 +01:00
smoke_test.vader 3560 add vim 8.2 and nvim 0.4 to ci tests (#3561) 2021-01-27 19:52:24 +00:00
test_ale_has.vader Bump the ALE version to 3.0.0 2020-09-09 22:06:38 +01:00
test_ale_info.vader Close #3003 - Show ignored linters in :ALEInfo 2020-09-08 22:19:13 +01:00
test_ale_info_to_clipboard.vader Fix #2438 - Print a friendly message when the clipboard is not available 2019-05-28 20:27:10 +01:00
test_ale_lint_command.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_ale_lint_stop_command.vader Close #3333 - Add an ALECompletePost event 2020-09-08 21:40:10 +01:00
test_ale_toggle.vader 569 support vim sign group and priority (#2786) 2019-09-25 09:15:16 +01:00
test_ale_var.vader Remove the redundant fix_buffer_data vars and filename variables 2018-07-22 22:31:46 +01:00
test_alejobstarted_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_alelint_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_ant_build_classpath_command.vader Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
test_ant_find_project_root.vader Feature/add ant support (#2539) 2019-06-03 20:30:18 +01:00
test_autocmd_commands.vader Close #3309 - Add b:ale_lint_delay 2020-08-28 09:54:43 +01:00
test_backwards_compatibility.vader Use a function to define shellcheck linters and vars needed, fixes tests 2020-05-08 12:55:54 +01:00
test_balloon_messages.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_c_flag_parsing.vader Add tests for -imacros C flag 2020-12-21 15:07:11 +01:00
test_checkingbuffer_autocmd.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_cleanup.vader Clean up ALE linter buffer data when buffers are deleted, not unloaded 2017-12-19 15:35:57 +00:00
test_code_action.vader Support for LSP/tsserver Code Actions (#3437) 2020-11-14 10:15:17 +00:00
test_code_action_python.vader Support for LSP/tsserver Code Actions (#3437) 2020-11-14 10:15:17 +00:00
test_codefix.vader #3442 Fix code fix clangd issue 2020-11-21 01:27:27 +00:00
test_computed_lint_file_values.vader Close #2522 - Check pylint on the fly 2020-09-09 21:45:15 +01:00
test_csslint_config_detection.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_cursor_warnings.vader Add tests for \r removal 2020-08-31 09:01:44 +01:00
test_deferred_command_string.vader Close #3285 - lint_file is now dynamic 2020-08-28 14:02:05 +01:00
test_deferred_executable_string.vader #2132 - Implement deferred command handling for linters 2019-02-21 21:24:41 +00:00
test_deno_executable_detection.vader feat: Add Deno fmt fixer 2021-01-22 19:06:52 +01:00
test_disabling_ale.vader Fix #577 Add an option preventing linting of large files 2017-05-26 21:21:15 +01:00
test_dockerfile_hadolint_linter.vader Added tests for hadolint 2018-01-29 22:21:50 +01:00
test_env_function.vader Massively reduce the amount of code needed for linter tests 2018-07-15 18:28:28 +01:00
test_errors_removed_after_filetype_changed.vader Simplify code for marking linters as active 2019-02-14 10:10:46 +00:00
test_eslint_executable_detection.vader eslint: Use cwd from executable location to fix nested projects (#3222) 2020-07-08 14:42:01 +01:00
test_filename_mapping.vader Try to fix Windows tests 2020-08-23 20:05:09 +01:00
test_filetype_linter_defaults.vader Test default linters for apkbuild 2021-01-22 14:04:26 -03:00
test_filetype_mapping.vader #283 Fix linting buffers with no filename, by creating a filename with a guess for the file extension 2017-02-13 10:36:38 +00:00
test_find_nearest_directory.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_find_references.vader Fix #3316 - Repeat -relative for ALERepeatSelection 2020-08-27 12:41:07 +01:00
test_floating_preview.vader Add nvim floating window support (replaces #3314) (#3470) 2021-01-14 18:06:20 +00:00
test_flow_command.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_format_command.vader #2556 - Support modifiers for formatted filenames 2020-08-24 09:33:07 +01:00
test_format_temporary_file_creation.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_function_arg_count.vader Move all functions for fixing things to autoload/ale/fixers, and only accept the lines of input where needed. 2017-06-07 14:02:29 +01:00
test_fuzzy_json_decode.vader Fix #988 - Support --fix-dry-run for ESLint by processing the JSON output 2017-11-22 23:23:14 +00:00
test_get_abspath.vader Fix #1210 - Fix a Windows path issue which broke TSLint 2017-12-18 13:27:59 +00:00
test_get_loclist.vader Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
test_getmatches.vader Add a function for getting matches, and use it to simplify a lot of code 2017-04-18 00:35:53 +01:00
test_go_to_definition.vader Remove features deprecated in previous versions 2020-08-18 23:03:43 +01:00
test_gradle_build_classpath_command.vader ale#path#CdString include ale#Escape 2018-10-23 23:20:27 +09:00
test_gradle_find_executable.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_gradle_find_project_root.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_hdl_checker_options.vader Adds hdl_checker LSP support (#2804) 2020-08-06 13:20:54 +01:00
test_highlight_placement.vader Fixes #2982 - Implement g:ale_exclude_highlights 2020-03-11 12:52:41 -04:00
test_highlight_position_chunking.vader Fix #604 - Support highlights spanning many lines 2017-05-31 13:14:39 +01:00
test_history_saving.vader Fix LSP tests 2019-05-24 01:13:52 +01:00
test_hover.vader Add nvim floating window support (replaces #3314) (#3470) 2021-01-14 18:06:20 +00:00
test_hover_parsing.vader Close #3274 - Handle basic LSP markdown formatting 2020-08-12 22:11:45 +01:00
test_ignoring_linters.vader Use JSON output for eslint and fix tsserver column 2019-06-02 14:39:03 +02:00
test_jsonlint_executable_detection.vader #2132 - Implement feature tests with ale#Has 2019-04-07 15:34:39 +01:00
test_kotlin_languageserver_path_detection.vader Add kotlin language server support (#1725) 2018-07-15 18:54:18 +01:00
test_line_join.vader #830 Implement a socket wrapper API for use with LSP connections 2018-07-02 23:49:47 +01:00
test_lint_file_linters.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_lint_on_enter_when_file_changed.vader Use has('gui_running') instead of has('gui') 2020-11-21 20:16:32 +00:00
test_lint_on_filetype_changed.vader Fix #1619 - Rewrite lint on enter events so they behave better 2018-07-17 00:18:34 +01:00
test_linter_defintion_processing.vader Close #3285 - lint_file is now dynamic 2020-08-28 14:02:05 +01:00
test_linter_retrieval.vader Fix #1727 - Replace previoulsy defined linters with matching names 2019-06-10 22:41:20 +01:00
test_linter_type_mapping.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_linting_blacklist.vader #2132 - lint and fix with ale#command#Run 2019-02-06 22:00:11 +00:00
test_linting_updates_loclist.vader 3560 add vim 8.2 and nvim 0.4 to ci tests (#3561) 2021-01-27 19:52:24 +00:00
test_list_formatting.vader Add tests for \r removal 2020-08-31 09:01:44 +01:00
test_list_opening.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_list_titles.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_load_all_linters.vader #427 Implement buffer variable overrides for all linter options 2017-04-16 01:24:08 +01:00
test_loclist_binary_search.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_loclist_corrections.vader Try to fix Windows tests again 2020-08-23 20:14:08 +01:00
test_loclist_jumping.vader Fix #1317 - Jump to column 1 for problems at column 0 2019-05-17 22:08:03 +01:00
test_loclist_sorting.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_maven_build_classpath_command.vader Add tests for maven.vim file 2020-10-02 10:03:14 +02:00
test_maven_find_executable.vader Add tests for maven.vim file 2020-10-02 10:03:14 +02:00
test_maven_find_project_root.vader Add tests for maven.vim file 2020-10-02 10:03:14 +02:00
test_nearest_file_search.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_nimlsp_project_root.vader Add support for nimlsp (#2815) 2019-10-17 17:32:31 +01:00
test_no_linting_on_write_quit.vader Fix #2497 - ALE should not lint on save when disabled after fixing 2019-05-13 13:44:29 +01:00
test_organize_imports.vader #3332 Implement :ALERename! for ignoring errors 2020-10-15 21:56:21 +01:00
test_other_sources.vader #2017 Add support for display results from other sources 2018-10-29 18:28:28 +00:00
test_parse_command_args.vader Add a function for parsing command args 2019-02-07 18:10:34 +00:00
test_path_dirname.vader Add support for parsing compile_commands.json files for C compilers 2018-07-29 19:24:27 +01:00
test_path_equality.vader Fix #2525 - Convert Windows paths in a Unix environment 2019-06-05 14:16:43 +01:00
test_path_upwards.vader Fix #1210 - Fix a Windows path issue which broke TSLint 2017-12-18 13:27:59 +00:00
test_path_uri.vader Fix #3278 - Handle UTF-8 in URI encoding/decoding 2020-08-10 02:03:41 +01:00
test_pattern_options.vader Fix #1619 - Rewrite lint on enter events so they behave better 2018-07-17 00:18:34 +01:00
test_prepare_command.vader Fix a test on Windows 2019-01-04 14:51:55 +00:00
test_puppet_path_detection.vader Start of vader tests for puppet root detection 2018-07-05 21:25:03 +02:00
test_python_find_project_root.vader Test for Python project root directory 2019-05-19 09:51:26 -04:00
test_python_pipenv.vader Add python_[linter]_auto_pipenv options for python linters (fixes #1656) 2018-09-15 22:10:46 -04:00
test_python_traceback.vader Support pylama for python (#2266) 2019-02-08 21:44:34 +00:00
test_python_virtualenv.vader Add a test to ensure $VIRTUAL_ENV is respected. 2017-10-11 13:42:38 -07:00
test_quickfix_deduplication.vader Close #1494 - Prefer displaying higher severity problems for cursor messages, balloons, and highlights 2018-04-10 21:05:22 +01:00
test_quitting_variable.vader Fix #1619 - Rewrite lint on enter events so they behave better 2018-07-17 00:18:34 +01:00
test_redundant_tsserver_rendering_avoided.vader Test fix. 2020-11-21 15:49:42 +02:00
test_regex_escaping.vader #756 Escape the paths used for the --include parameter for gometalinter, which uses RE2 2017-07-11 23:47:21 +01:00
test_rename.vader Fix #3332 - Modify everything for rename/actions 2020-11-21 19:00:53 +00:00
test_resolve_local_path.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_results_not_cleared_when_opening_loclist.vader 569 support vim sign group and priority (#2786) 2019-09-25 09:15:16 +01:00
test_sandbox_execution.vader #2132 Unify temporary file management in command.vim 2019-01-26 19:33:52 +00:00
test_semver_utils.vader #2132 - Replace command_chain and chain_with with ale#command#Run 2019-04-07 14:58:06 +01:00
test_set_list_timers.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_setting_loclist_from_another_buffer.vader Get tests to pass in Vim 8.1 2018-07-23 20:41:48 +01:00
test_setting_problems_found_in_previous_buffers.vader 569 support vim sign group and priority (#2786) 2019-09-25 09:15:16 +01:00
test_shell_detection.vader Fix 3103 - add shellcheck shell directive detection. (#3216) 2020-11-21 20:49:31 +00:00
test_should_do_nothing_conditions.vader Fix #2399 - Do not check buffers used for displaying diffs 2019-04-08 13:42:09 +01:00
test_sml_command.vader Fix the mscs tests on Windows, and use the improved Simplify for all tests instead. 2017-12-19 18:23:09 +00:00
test_socket_connections.vader Feature: Add support for named-pipe sockets for LSPs (#3509) 2021-01-26 20:43:17 +00:00
test_statusline.vader Extend statusline interface (#2240) 2019-01-27 12:44:49 +00:00
test_swift_find_project_root.vader [lsp] Add Swift / SourceKit-LSP support (#2420) 2019-04-08 16:25:30 +01:00
test_swiftlint_executable_detection.vader Close #3285 - lint_file is now dynamic 2020-08-28 14:02:05 +01:00
test_symbol_search.vader #2132 Use an on-init callback for all LSP logic 2019-02-13 17:26:37 +00:00
test_temporary_file_management.vader Remove features deprecated in previous versions 2020-08-18 23:03:43 +01:00
test_tmpdir_wrapper.vader Only temporarily replace TMPDIR if it's defined to be an empty string 2018-07-16 08:45:55 +01:00
test_verilog_verilator_options.vader #2017 Simplify lint cycles for supporting other sources later 2018-10-29 11:29:21 +00:00
test_vim8_processid_parsing.vader Refactor jobs into a Vim version agnostic API which can be used for other purposes 2017-05-12 21:16:15 +01:00
test_windows_escaping.vader Fix #549 - escape strings more appropriately for use with cmd /c 2017-05-26 00:06:16 +01:00
test_wrap_comand.vader Fix a command wrapper test on Windows 2018-01-17 18:11:20 +00:00
test_writefile_function.vader fix: don't append newline when buffer is noeol and nofixeol 2020-04-30 15:00:10 -04:00
vimrc Fix #2555 - Remove highlights in lowercase, etc 2019-06-03 20:16:49 +01:00