vim-force.com
vim-force.com copied to clipboard
:ApexTest - is it possible to skip `Select Log Type to change`?
I tried to add to my .vimrc this from documentation:
let g:apex_test_debuggingHeader = {"All": "Error", "Visualforce": "Error",
\ "Workflow": "Error", "Db": "Error", "System": "Error", "Callout": "Error",
\ "Apex_profiling": "Error", "Apex_code": "Error", "Validation": "Error"}
Restarted Vim session, :ApexTest ... and the same Select Log Type to change - also in g:apex_test_debuggingHeader I changed Apex_code to Error but first line in buffer is the same1. ApexCode (Debug).
Not possible to skip with "out of the box" config.
In case it is not obvious - you do not have to change log settings every time. Just press Enter to proceed with existing settings.
e.g. enter command
:ApexTest tooling-sync TestClassName
then press Enter twice
This will start the test.