diff options
author | oreodave <aryadevchavali1@gmail.com> | 2019-08-25 21:57:38 +0100 |
---|---|---|
committer | oreodave <aryadevchavali1@gmail.com> | 2019-08-25 21:57:38 +0100 |
commit | b80dbbfdc11d993c0fad79a1d2e91814c5916c42 (patch) | |
tree | 5b5cac355e6ff8a191e9cbf933b486ae18edc92c | |
parent | 3df00c2d24e905dc09a74625d0f5ee46cb14f1f9 (diff) | |
download | dotfiles-b80dbbfdc11d993c0fad79a1d2e91814c5916c42.tar.gz dotfiles-b80dbbfdc11d993c0fad79a1d2e91814c5916c42.tar.bz2 dotfiles-b80dbbfdc11d993c0fad79a1d2e91814c5916c42.zip |
+execute async subprocess to run full test
The subprocess runs the given test in full detail meaning it can read
output messages as well. This test is run in a buffer meaning I can read
the output of c# unit tests without vscode :)
-rw-r--r-- | doom.d/config.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doom.d/config.org b/doom.d/config.org index cc546f3..261456d 100644 --- a/doom.d/config.org +++ b/doom.d/config.org @@ -150,6 +150,13 @@ My docsets are stored in .docsets for ease of use :unwind (lambda () (counsel-delete-process) (swiper--cleanup)) + :action (lambda (x) + (set-process-sentinel + (start-process-shell-command "csharp-unit-testing" "*csharp-test-output*" (format "dotnet test --logger \"console;verbosity=detailed\" --filter FullyQualifiedName~%S" x)) + (lambda (process _event) + (when (memq (process-status process) '(exit stop)) + (message "Unit test finished :\)")))))))))) + (setq omnisharp-server-executable-path "~/bin/omnisharp/run") (add-hook 'csharp-mode-hook '(lambda() (setq c-basic-offset 4))) ; Hook for csharp setting variables |