Skip to content

omnisharp can't run tests #852

Closed
Closed
@123nika-nika

Description

@123nika-nika

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions