aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/src/instrument.erl
diff options
context:
space:
mode:
authorChris Bernard <[email protected]>2010-04-23 12:49:41 -0400
committerRaimo Niskanen <[email protected]>2010-05-18 14:37:09 +0200
commite946a61a0a41c6592931d7cdfbb2dc618f582100 (patch)
tree2ee3eb89134bd2226f3f48c2f2db23dae8650c6c /lib/tools/src/instrument.erl
parent01fcc37102224072adc1d9f90876aa32e8b62799 (diff)
downloadotp-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/tools/src/instrument.erl')
0 files changed, 0 insertions, 0 deletions