Emacs-D-Mode-Maintainers / Emacs-D-Mode

An Emacs mode for D code.
GNU General Public License v3.0
84 stars 22 forks source link

Allow tests to specify lisp code and expected output. #48

Closed dmakarov closed 9 years ago

dmakarov commented 9 years ago

This is additional work on the testing infrastructure. The test files can now include lisp code to be evaluated on the test buffer and the expected output. A test fails if the lisp code produces output that doesn't match the expected output.

russel commented 9 years ago

Should we be using ert at all as a test framework here?

dmakarov commented 9 years ago

I don't have any preference. It seems like a convenient wrapper, but if there are better ideas or proposals I don't mind changing the infrastructure.