question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No feedback for Elixir test

See original GitHub issue

Describe the bug No output whatsoever when testing an Elixir ExUnit case.

To Reproduce Steps to reproduce the behavior:

  1. Install elixir (I’m running 1.10.3)
  2. Clone https://github.com/aerosol/foo
  3. ULTEST_LOG_LEVEL=DEBUG ULTEST_LOG_FILE=ultest.log nvim test/foo_test.exs
  4. 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 screen

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rcarrigacommented, Mar 7, 2021

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

1reaction
rcarrigacommented, Mar 7, 2021

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found