Commit Graph

480 Commits

Author SHA1 Message Date
w0rp
10777d3421 Add tests to cover definitions for linters so far. 2016-12-13 13:33:19 +00:00
w0rp
614a30a508 Improve file blacklisting to make Unite.vim not fuck up. 2016-10-31 14:47:08 +00:00
w0rp
c546f47cc0 Merge everything into the one global map. 2016-10-24 20:21:42 +01:00
w0rp
7481facd73 #107 Stop jobs when buffers close 2016-10-23 22:41:00 +01:00
w0rp
36461b69d7 Support loading eslint from node_modules, re issue #118. 2016-10-23 13:04:41 +01:00
Bjorn Neergaard
dc99282f79
Clean up some test filenames and extraneous code 2016-10-22 08:53:28 -05:00
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
w0rp
5eee70cf37 Merge pull request #129 from neersighted/ansible
Add ansible-lint support and factor out PEP8 handler
2016-10-21 09:21:50 +01:00
Bjorn Neergaard
c697ef05bb
Add PEP8 handler test. 2016-10-20 22:52:25 -05:00
w0rp
7a06d276c2 #131 Keep the error types in the message for eslint 2016-10-20 18:07:55 +01:00
Bart Libert
a34fb0a6a7 Add support for cppcheck (#126)
* Add support for cppcheck

* Fix vint error in cppcheck handler

* Add vader test for CppCheck format handler
2016-10-20 12:30:45 +01:00
w0rp
6df632218e Add a test which checks that we can find the stdin-wrapper script. 2016-10-19 23:26:07 +01:00
Bjorn Neergaard
0e6f406fe0
Add autocommand test 2016-10-17 20:14:21 -05:00
w0rp
bf45ab6d8d Add a function for waiting for linters to complete, and add a test which checks that linting updates the loclist. 2016-10-17 23:26:19 +01:00
w0rp
654a172473 Make the nearest file search result absolute paths, and add tests to cover it. 2016-10-17 21:14:34 +01:00
w0rp
7c2a16e149 Add a test to check that buffer cleanup works. 2016-10-17 20:42:50 +01:00
w0rp
c726503acf Correct the order of arguments for AssertEqual in some places. 2016-10-14 20:34:21 +01:00
w0rp
56b866c8d8 Add some tests for the EchoCursorWarning function. 2016-10-14 20:29:31 +01:00
w0rp
f2dba0f487 Add tests to cover common handler functions. 2016-10-13 22:03:31 +01:00
w0rp
a089fabb5c Add some unit tests for the BinarySearch function. 2016-10-13 21:24:47 +01:00
w0rp
f506887b28 Add a unit test for the loclist comparison function. 2016-10-13 20:56:18 +01:00
Bjorn Neergaard
f74d4938d0
Cleanup vimrc rtp 2016-10-13 08:54:07 -05:00
Bjorn Neergaard
6e789c33b0
Add statusline tests 2016-10-13 08:52:53 -05:00
w0rp
217bb5cb40 Improve the output of the tests, and fix the style issue again. 2016-10-12 23:55:09 +01:00
w0rp
7287943473 Add ALE to the Vim runtimepath in the Docker image so it can run tests. 2016-10-12 23:17:09 +01:00
w0rp
037b703682 Remove the example, and trigger Travis again. 2016-10-12 22:33:55 +01:00
w0rp
e058f9d51b Merge pull request #88 from prashcr/master
Use vim-testbed to run Vader tests on Travis
2016-10-12 22:17:16 +01:00
Prashanth Chandra
210d464442 Use vim-testbed to run Vader tests on Travis 2016-10-12 18:59:18 +08:00
w0rp
5e0f33615e Add a test for aliases too. 2016-10-11 23:52:13 +01:00
w0rp
1d2405f2bc Fix an ale:linters bug, and add a test for it. 2016-10-11 23:48:43 +01:00