-
-
Couldn't load subscription status.
- Fork 162
Open
Description
NeoVim Version
Output of nvim --version
NVIM v0.11.3
Build type: Release
LuaJIT 2.1.1741730670
Run "nvim -V1 -v" for more info
Describe the bug
When trying to install neotest via NixOS, its test suite fails and thus the installation is aborted.
When trying to run the test suite myself, it also fails.
To Reproduce
git clone [email protected]:nvim-neotest/neotest.git
./scripts/testExpected behavior
The test suite should succeed, Installations should be possible.
Logs
:> ./scripts/test
Starting...Scheduling: tests/unit/client/events_spec.lua
Scheduling: tests/unit/client/init_spec.lua
Scheduling: tests/unit/client/state_spec.lua
Scheduling: tests/unit/client/strategies/integrated_spec.lua
Scheduling: tests/unit/consumers/jump_spec.lua
Scheduling: tests/unit/consumers/output_panel_spec.lua
Scheduling: tests/unit/lib/files/init_spec.lua
Scheduling: tests/unit/lib/positions/init_spec.lua
Scheduling: tests/unit/lib/process/init_spec.lua
Scheduling: tests/unit/lib/subprocess_spec.lua
Scheduling: tests/unit/lib/treesitter/init_spec.lua
Scheduling: tests/unit/lib/xml_spec.lua
Scheduling: tests/unit/types/tree_spec.lua
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/client/events_spec.lua
Success || events processor emits event
Success || events processor emits events with arguments
Success: 2
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/lib/xml_spec.lua
Success || When receiving valid XML it is parsed correctly
Success: 1
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/types/tree_spec.lua
Success || neotest tree parses lists
Success || neotest tree provides key access
Success || neotest tree iterates in order
Success || neotest tree iterates with predicate
Success: 4
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/client/state_spec.lua
Success || client state position state stores update as root when given first tree
Success || client state position state emits discover_positions event on update
Success || client state position state emits event with new tree
Success || client state position state fills updated dir tree with existing file positions
Success || client state position state updates child dir tree with existing tree
Success || client state results state stores new results
Success || client state results state emits results event on update
Success || client state results state emits event with new results
Success || client state results state sets pos to not running
Success || client state results state overwrites existing result
Success || client state running state stores running
Success || client state running state emits run event on update
Success || client state running state emits event with root and running positions
Success || client state running state removes existing result
Success: 14
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/lib/process/init_spec.lua
Success || process lib running a process returns exit code
Success || process lib running a process records stdout
Success || process lib running a process doesn't records stdout
Success || process lib running a process records stderr
Success || process lib running a process doesn't record stderr
Success: 5
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/lib/positions/init_spec.lua
Success || contains dir contains file
Success || contains dir contains dir
Success || contains file contains test
Success || contains dir doesn't contain file
Success || contains dir doesn't contain dir
Success || contains file doesn't contain test
Success || merge merge(dir, file) replaces tests in existing file
Success || merge merge(dir, dir) replaces contents of dir
Success || merge merge(dir, dir) replaces contents of subdir
Success || merge merge(dir, file) adds new file
Success || merge merge(file, file) updates tests in file
Success || merge merge(dir, dir) merges unrelated dirs at common ancestor
Success: 12
Failed : 0
Errors : 0
========================================
No tests below cursor 3 table: 0x7f4403f81788
No tests above cursor 3 table: 0x7f4403f81930
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/consumers/jump_spec.lua
Success || jump consumer next goes to first test
Success || jump consumer next failure goes to first failure
Success || jump consumer next failure goes to second failure
Success || jump consumer next goes to from first second test
Success || jump consumer next does nothing if no next test
Success || jump consumer prev goes to previous test
Success || jump consumer prev goes to previous test from top of test
Success || jump consumer prev doesn't jump to file
Success || jump consumer prev failure goes to prev failure
Success || jump consumer prev failure goes to first failure
Success: 10
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/lib/treesitter/init_spec.lua
Success || treesitter parsing finds all positions
Success || treesitter parsing finds all positions with nested tests
Success || treesitter parsing ignored positions without namespace when required
Success || treesitter parsing uses custom id function
Success || treesitter parsing uses custom id function as string
Success || treesitter parsing uses custom build function
Success || treesitter parsing build function - directive #gsub!
Success || treesitter parsing build function - directive #set!
Success || treesitter parsing uses custom build function as string
Success || treesitter parsing allows custom build function to return list
Success || treesitter parsing assigns children without ranges to previous node with range
Success: 11
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/lib/files/init_spec.lua
Success || files library parsing directory tree from files places files under the root
Success || files library parsing directory tree from files places files under the parent directory
Success || files library parsing directory tree from files parses directory and file with same name
Success || files library reading files reads data
Success || files library reading files reads lines
Success || files library reading files stream lines
Success || files library reading files stream lines after new data written
Success: 7
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/consumers/output_panel_spec.lua
Success || neotest consumer - output_panel user forcefully closes the panel recreates terminal session if term channel is invalid
Success || neotest consumer - output_panel user forcefully closes the panel recreates panel buffer if it was closed
Success || neotest consumer - output_panel user forcefully closes the panel deletes panel buffer if it already exists with the same name
Success: 3
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/client/strategies/integrated_spec.lua
Success || integrated strategy produces output
Success || integrated strategy returns exit code
Success || integrated strategy stops the job
Fail || integrated strategy streams output
...-luajit2.1-nvim-nio-1.10.1-1/share/lua/5.1/nio/tests.lua:48: Test task failed with message:
The coroutine failed with this message:
...mPackages/start/plenary.nvim/lua/luassert/assertions.lua:115: the 'equals' function requires a minimum of 2 arguments, got: 1
stack traceback:
[C]: in function 'error'
...eovimPackages/start/plenary.nvim/lua/luassert/assert.lua:169: in function 'assert'
...mPackages/start/plenary.nvim/lua/luassert/assertions.lua:115: in function 'callback'
...eovimPackages/start/plenary.nvim/lua/luassert/assert.lua:43: in function 'equal'
...neotest/tests/unit/client/strategies/integrated_spec.lua:58: in function <...neotest/tests/unit/client/strategies/integrated_spec.lua:48>
stack traceback:
...-luajit2.1-nvim-nio-1.10.1-1/share/lua/5.1/nio/tests.lua:48: in function <...-luajit2.1-nvim-nio-1.10.1-1/share/lua/5.1/nio/tests.lua:31>
Success || integrated strategy opens attach window
Success: 4
Failed : 1
Errors : 0
========================================
Tests Failed. Exit: 1
========================================
Testing: /home/yeldir/querbeet/workspace/vendor/neotest/tests/unit/client/init_spec.lua
Success || neotest client reading positions reads all tests files
Success || neotest client reading positions uses projects adapters
Success || neotest client reading positions uses project strategy
Success || neotest client reading positions doesn't use global adapters
Success || neotest client reading positions updates files when first requested
Success || neotest client reading positions when looking for new file it reads the files
Success || neotest client reading positions when looking for new directory it reads the new directory
Success || neotest client reading positions discovery.enabled = false doesn't scan directories by default
Success || neotest client reading positions discovery.enabled = false doesn't scan directories by default in configured project
Success || neotest client reading positions discovery.enabled = false only scans buffers that are open when client starts
Success || neotest client reading positions discovery.enabled = false parses buffers as they are added
Success || neotest client reading positions discovery.enabled = false adds new buffers as to existing tree
Success || neotest client running tests using args provides env
Success || neotest client running tests using args provides cwd
Success || neotest client running tests reports running positions
Success || neotest client running tests runs multiple specs returned
Success || neotest client running tests uses spec strategy override
Success || neotest client running tests with unsupported roots supporting files breaks up directories to files
Success || neotest client running tests with unsupported roots supporting files sets results of directories as results are streamed
Success || neotest client running tests with unsupported roots breaks up files to tests
Success || neotest client running tests with unsupported roots breaks up namespaces to tests
Success || neotest client running tests attaching with position
Success || neotest client running tests attaching with child
Success || neotest client running tests stopping with position
Success || neotest client running tests stopping with child
Success || neotest client running tests with streamed results streams output data
Success || neotest client running tests with streamed results emits streamed results
Success || neotest client running tests with streamed results attaches position
Success || neotest client running tests filling results fills results for dir from child files
Success || neotest client running tests filling results fills results for files from child files
Success || neotest client running tests filling results fills empty file as skipped
Success || neotest client running tests filling results fills results for namespaces from child tests
Success || neotest client running tests filling results fills test and namespace results fromm failed files
Success: 33
Failed : 0
Errors : 0
========================================
zvolin
Metadata
Metadata
Assignees
Labels
No labels