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
Bjorn Neergaard f49f615ef6
Add support for dot-seperate linters, improve linter tests
This PR first and formost implements support for dot-seperate filetypes,
a very trivial change.

This closes #132

But more importantly, this PR vastly improves the test quality for
`ale#linter#Get`. It enables us to reset the state of ale's internal
linter cache, to facilitate better testing, as well as making use of
mocked linters instead of depending on linters on disk (which may
change). In addition, a dummy linter is defined to test the autoloading
behavior.

Header guards were removed from all linters as:

* A: ale won't try and load linters if they already exist in memory
* B: we can't reset state for testing if they can't be loaded again
2016-10-21 21:02:20 -05:00
..
top Make the nearest file search result absolute paths, and add tests to cover it. 2016-10-17 21:14:34 +01:00
test_ale_linter_get.vader Add support for dot-seperate linters, improve linter tests 2016-10-21 21:02:20 -05:00
test_ale_statusline.vader Add support for dot-seperate linters, improve linter tests 2016-10-21 21:02:20 -05:00
test_alelint_autocmd.vader Add autocommand test 2016-10-17 20:14:21 -05:00
test_cleanup.vader Add a test to check that buffer cleanup works. 2016-10-17 20:42:50 +01:00
test_common_handlers.vader Add PEP8 handler test. 2016-10-20 22:52:25 -05:00
test_cursor_warnings.vader Add some tests for the EchoCursorWarning function. 2016-10-14 20:29:31 +01:00
test_linting_updates_loclist.vader #131 Keep the error types in the message for eslint 2016-10-20 18:07:55 +01:00
test_loclist_binary_search.vader Correct the order of arguments for AssertEqual in some places. 2016-10-14 20:34:21 +01:00
test_loclist_sorting.vader Correct the order of arguments for AssertEqual in some places. 2016-10-14 20:34:21 +01:00
test_nearest_file_search.vader Make the nearest file search result absolute paths, and add tests to cover it. 2016-10-17 21:14:34 +01:00
test_stdin_wrapper_path_can_be_found.vader Add a test which checks that we can find the stdin-wrapper script. 2016-10-19 23:26:07 +01:00
vimrc Cleanup vimrc rtp 2016-10-13 08:54:07 -05:00