No feedback for Elixir test
See original GitHub issueDescribe the bug No output whatsoever when testing an Elixir ExUnit case.
To Reproduce Steps to reproduce the behavior:
- Install elixir (I’m running 1.10.3)
- Clone https://github.com/aerosol/foo
ULTEST_LOG_LEVEL=DEBUG ULTEST_LOG_FILE=ultest.log nvim test/foo_test.exs
- Run
:Ultest
,:UltestSummaryOpen
Debug output:
(carb) /tmp/foo $ tail -f ultest.log
11:43:24 | INFO | MainThread | logging.py:create_logger:71 | Logger created
11:43:24 | DEBUG | MainThread | __init__.py:__init__:40 | Handler created
11:43:33 | DEBUG | Thread-1 | jobs.py:_handle_coroutine:42 | Starting job with group run_all
11:43:33 | INFO | Thread-1 | __init__.py:runner:101 | Running all tests in test/foo_test.exs
11:43:33 | DEBUG | Thread-1 | jobs.py:_handle_coroutine:54 | Finished job with group run_all
Expected behavior
Any feedback in neovim instance.
Screenshots
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
undef to 500 response when running tests - Elixir Forum
When I run my tests, I get a :undef to 500 response if a method do not exist. This does not happen when...
Read more >Testing Controllers — Phoenix v1.6.15 - HexDocs
The answer is no. All of the different rules and outcomes should be verified in your context and schema tests. The controller works...
Read more >Unit Testing in Elixir - The Lean Software Boutique - OmbuLabs
Naturally, Elixir implements summation for us, so we have no extra work, however, we can still think of what a sum should do....
Read more >Testing with ExUnit | The Pragmatic Programmers - Medium
This means that if you have Elixir and you're familiar with what's available, you can write effective tests without needing to bring in ......
Read more >mix test command does not run only one test when line ...
Environment Elixir version (elixir -v): 1.2.3 Operating system: OSX 10.11.3 Current behavior I have a fresh mix project where I created a ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ll leave open for now as there might be more reports of the same with other languages and I’d like to have it all recorded in one place. Once we have a solution I’m happy to close
Actually on second thought we likely don’t need to have vim-test actually use the patterns. Instead vim-ultest could define the patterns itself for these languages as vim-test seems to rely on line numbers being passed which is already done by vim-ultest