Emacs mode for Test::Harness output?

samtregar on 2005-03-11T22:27:51

I've been playing with ECB (Emacs Code Browser) today. So far I'm very impressed. It gives me three panes stacked up next to the edit windows: a project browser, a file browser and a buffer list. It will also do method browsing but I'm not ready for that yet.

The thing is, it's missing something: tests. I still have to switch to a terminal every time I run my tests. Ideally I'd like to bind a key to run 'make test' on the project and see the results in a buffer. Syntax highlighting would be icing on the cake.

Anyone know of something I can use for this? I tried M-x compile but the Test::Harness output looks horrible in it. Googling around and looking in the Emacs Wiki didn't turn up much.

-sam


TAP into America!

petdance on 2005-03-11T22:51:29

You want TAP format, which is Test::Simple/Test::More's output, not Test::Harness.

Recent Test::Harness distro has Test::Harness::TAP that documents the format. An Emacs format wouldn't be too tough.