diff options
author | Chris Bernard <[email protected]> | 2010-04-23 12:49:41 -0400 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-05-18 14:37:09 +0200 |
commit | e946a61a0a41c6592931d7cdfbb2dc618f582100 (patch) | |
tree | 2ee3eb89134bd2226f3f48c2f2db23dae8650c6c /lib/kernel/src/kernel.erl | |
parent | 01fcc37102224072adc1d9f90876aa32e8b62799 (diff) | |
download | otp-e946a61a0a41c6592931d7cdfbb2dc618f582100.tar.gz otp-e946a61a0a41c6592931d7cdfbb2dc618f582100.tar.bz2 otp-e946a61a0a41c6592931d7cdfbb2dc618f582100.zip |
Add Emacs EUnit utility feature: run current test function.
This determines the current test function under point (cursor), whether the active buffer
contains a test module (foo_tests) or the module itself (foo), then compiles the source
module (and test module if present) and runs that test function.
Since this added a third testing feature, there was some natural duplication that needed
to be factored out. The notion of 'compile and run tests' was decoupled from exactly
which tests should be run. The definitions of default keybindings were converted to a list
for clarity and conciseness.
Diffstat (limited to 'lib/kernel/src/kernel.erl')
0 files changed, 0 insertions, 0 deletions