Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omnisharp can't run tests #852

Closed
nikasept opened this issue Oct 11, 2023 · 3 comments
Closed

omnisharp can't run tests #852

nikasept opened this issue Oct 11, 2023 · 3 comments

Comments

@nikasept
Copy link

nikasept commented Oct 11, 2023

Hey;

I'm having this problem: whenever I try to OmniSharpRunTest it gives me the error:
Error detected while processing function OmniSharp#proc#neovimOutHandler[21]..OmniSharp#stdio#HandleResponse[42]..<SNR>47_ProjectRH:
If I retry it then I get: No test found;

everything else that I have tried seems to be working just fine (completion;FixUsings;.etc.)

Additional info:
I'm using .NET 6 sdk and runtime;

this is my omnisharp configuration:

" OmniSharp: {{{                                                                    
let g:OmniSharp_popup_position = 'peek'                                             
if has('nvim')                                                                      
  let g:OmniSharp_popup_options = {                                                 
  \ 'winblend': 30,                                                                 
  \ 'winhl': 'Normal:Normal,FloatBorder:ModeMsg',                                   
  \ 'border': 'rounded'                                                             
  \}                                                                                
else                                                                                
  let g:OmniSharp_popup_options = {                                                 
  \ 'highlight': 'Normal',                                                          
  \ 'padding': [0],                                                                 
  \ 'border': [1],                                                                  
  \ 'borderchars': ['─', '│', '─', '│', '╭', '╮', '╯', '╰'],                        
  \ 'borderhighlight': ['ModeMsg']                                                  
  \}                                                                                
endif                                                                               
let g:OmniSharp_popup_mappings = {                                                  
\ 'sigNext': '<C-n>',                                                               
\ 'sigPrev': '<C-p>',                                                               
\ 'pageDown': ['<C-f>', '<PageDown>'],                                              
\ 'pageUp': ['<C-b>', '<PageUp>']                                                   
\}                                                                                  
                                                                                    
let g:OmniSharp_highlight_groups = {                                                
\ 'ExcludedCode': 'NonText'                                                         
\}                                                                                  
                                                                                    
let g:OmniSharp_server_use_net6 = 1                                                 
" }}}         

OmniSharpOpenLog contains nothing informative; info is a min loglevel;

@nickspoons
Copy link
Member

Hi @ni-sgn, this should be resolved with #853

@nikasept
Copy link
Author

@nickspoons it works; thanks.

@nickspoons
Copy link
Member

No problem. If you feel like being adventurous, try out PR #789 which is an integrated test runner, with nicer test outputs and management

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants