# Ocamlunit emacs minor-mode

**URL:** https://discuss.ocaml.org/t/ocamlunit-emacs-minor-mode/6373
**Category:** Ecosystem
**Tags:** emacs, dune
**Created:** [September 7, 2020, 11:52am UTC](https://discuss.ocaml.org/t/ocamlunit-emacs-minor-mode/6373 "2020-09-07T11:52:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mdbergmann](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/mdbergmann/32/3025_2.png) [@mdbergmann](https://discuss.ocaml.org/u/mdbergmann)
#### Post date: [September 7, 2020, 11:52am UTC](https://discuss.ocaml.org/t/ocamlunit-emacs-minor-mode/6373/1 "2020-09-07T11:52:31Z")

</div>

Hi.

Here is a first version of this plugin that allows running `dune test` with an Emacs key stroke.  
It shows the test result in a separate buffer and a simple colorized status ‘message’.

> **[mdbergmann/emacs-ocamlunit](https://github.com/mdbergmann/emacs-ocamlunit)**
>
> Runs tests by key stroke. Contribute to mdbergmann/emacs-ocamlunit development by creating an account on GitHub.

While it is possible to run `dune` in ‘watch’ mode I’d like to manually run tests.

I didn’t find a way to specify individual test modules in `dune`. Is that possible?
