Re: Test framework
David Engster <[email protected]> Sun, 25 Jan 2015 23:38:36 +0100
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
Alastair Rankine writes: > I think that it would help immensely if I could continue to use ert as > the test framework. I realise that this library is not available in > emacs 23, so in this case I would suggest we just include it in cedet. Using ERT is not only OK, I actually much prefer using ERT for new tests, as they can be easily included in Emacs proper. Emacs 23 is not a problem, since we dropped support for it recently, which was also necessary because we want to drop EIEIO from the repository and only use the one in Emacs. > Assuming this is possible, I would just add the compdb tests to > cedet-utests-test-alist. Probably I would just use a lambda to invoke > the tests via invoke ert-run-tests-batch (or just ert if in > interactive mode). That's fine. Just require it in cedet-utests.el and put it into the alist. As a matter of fact, I just pushed an ERT test for the C parser, and I did it just like this. > The next thing to look at is removing the dependency on the el-mock > library. Is there an equivalent of this in the existing cedet test > framework? No, we don't have something like that in CEDET. -David ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet