<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/busted/outputHandlers, branch newfeatures</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>fix(test runner): handle nil in no-colors output handler #15679</title>
<updated>2021-09-16T18:42:00+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-16T18:42:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9d5d72c388b404c7e9e7aedd521bb5abe46c9436'/>
<id>9d5d72c388b404c7e9e7aedd521bb5abe46c9436</id>
<content type='text'>
Problem:
13748512f6d6 #15610 The no-colors codepath of the nvim.lua test output
handler does not handle nil, leading to weird symptoms if e.g. a test
has a syntax error:

    test/busted/outputHandlers/nvim.lua:105: attempt to concatenate a nil value

Solution:
Coerce to string in no-colors handler.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
13748512f6d6 #15610 The no-colors codepath of the nvim.lua test output
handler does not handle nil, leading to weird symptoms if e.g. a test
has a syntax error:

    test/busted/outputHandlers/nvim.lua:105: attempt to concatenate a nil value

Solution:
Coerce to string in no-colors handler.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: third-party licenses, TEST_COLORS, system() #15665</title>
<updated>2021-09-14T17:20:33+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-14T17:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b63b4777ec80069e42326778023db30bd8217f1a'/>
<id>b63b4777ec80069e42326778023db30bd8217f1a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(build): add an env var to re-enable the colors</title>
<updated>2021-09-11T21:20:00+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2021-09-11T20:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5087347e3b3c8846e2019f36b674d788139c7f69'/>
<id>5087347e3b3c8846e2019f36b674d788139c7f69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test(busted): disable colors in test-runner output #15610</title>
<updated>2021-09-09T16:18:43+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-09T16:18:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=13748512f6d6dfb5895c2233d2e07480e00eb753'/>
<id>13748512f6d6dfb5895c2233d2e07480e00eb753</id>
<content type='text'>
Problem
-------

Because test/busted/outputHandlers/nvim.lua doesn't know if it's running
in a terminal (no "isatty" equivalent), it outputs color codes in CI
logs and local tooling that runs the tests in a pipe:

    [1m[33m[ SKIPPED ][0m[0m [36m

This is just noise, hard for humans to read.

Solution
--------

Disable the color codes. If we later find a clever way to detect
a terminal in nvim.lua, we might consider re-enabling colors, but that
would still affect the CI build logs...</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem
-------

Because test/busted/outputHandlers/nvim.lua doesn't know if it's running
in a terminal (no "isatty" equivalent), it outputs color codes in CI
logs and local tooling that runs the tests in a pipe:

    [1m[33m[ SKIPPED ][0m[0m [36m

This is just noise, hard for humans to read.

Solution
--------

Disable the color codes. If we later find a clever way to detect
a terminal in nvim.lua, we might consider re-enabling colors, but that
would still affect the CI build logs...</pre>
</div>
</content>
</entry>
<entry>
<title>test/LSP: assert contents of log file</title>
<updated>2020-02-17T06:09:28+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2020-02-17T03:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6e13b9d26134210f0963341bd77c64a4437f37ec'/>
<id>6e13b9d26134210f0963341bd77c64a4437f37ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: busted: nvim handler: display durations always (#11075)</title>
<updated>2019-09-25T00:20:32+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-09-25T00:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=db6b4b677d611a2891a5b6d686e485aea08a8f81'/>
<id>db6b4b677d611a2891a5b6d686e485aea08a8f81</id>
<content type='text'>
This shows them also with test failures/errors, where it is useful to
see how long the test took (for flaky failures running into timeout).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This shows them also with test failures/errors, where it is useful to
see how long the test took (for flaky failures running into timeout).</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test/busted/outputHandlers/TAP.lua (#10881)</title>
<updated>2019-08-29T20:11:51+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-08-29T20:11:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=00d46f63286461eec4d7b2d7cae15fbe0d9cabdb'/>
<id>00d46f63286461eec4d7b2d7cae15fbe0d9cabdb</id>
<content type='text'>
Extending the original TAP handler was not working as expected.
This adds a new function for displaying the log.

Ref: https://github.com/neovim/neovim/pull/10876</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extending the original TAP handler was not working as expected.
This adds a new function for displaying the log.

Ref: https://github.com/neovim/neovim/pull/10876</pre>
</div>
</content>
</entry>
<entry>
<title>tests: move "busted" dir to "test" (#10518)</title>
<updated>2019-07-16T20:02:50+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-07-16T20:02:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=34c6e5beaf1f02b5291fcdc27e320cda72720ad4'/>
<id>34c6e5beaf1f02b5291fcdc27e320cda72720ad4</id>
<content type='text'>
* tests: move "busted" dir to "test"

It is used for outputHandlers only, and clearly belongs to the tests.
Use the full module name with the `-o` option to `busted` then for
clarity.

* luacheck

* test/busted/outputHandlers/TAP.lua: use/extend upstream</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests: move "busted" dir to "test"

It is used for outputHandlers only, and clearly belongs to the tests.
Use the full module name with the `-o` option to `busted` then for
clarity.

* luacheck

* test/busted/outputHandlers/TAP.lua: use/extend upstream</pre>
</div>
</content>
</entry>
</feed>
