* unit testing @ 2011-02-22 22:12 Perry Smith 0 siblings, 0 replies; 3+ messages in thread From: Perry Smith @ 2011-02-22 22:12 UTC (permalink / raw) To: GNU Emacs List I took something called "yari" and added "buttons" to it and now I have "yari-with-buttons". What it does is it parses the output of a command called "ri" (from Ruby's documentation system). The problem is that the output of ri changes (like the wind)... and the internal API changes even faster. What I need to do is come up with some unit tests so that I can see if it parses all the different types of buffers that ri can produce correctly. Is there any quasi-formal test unit system already available? Thank you, pedz ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.3.1298412765.11499.help-gnu-emacs@gnu.org>]
* Re: unit testing [not found] <mailman.3.1298412765.11499.help-gnu-emacs@gnu.org> @ 2011-03-03 20:41 ` Andreas Politz 2011-03-03 23:10 ` Tim X 0 siblings, 1 reply; 3+ messages in thread From: Andreas Politz @ 2011-03-03 20:41 UTC (permalink / raw) To: help-gnu-emacs Perry Smith <pedzsan@gmail.com> writes: > Is there any quasi-formal test unit system already available? http://www.google.com/cse?cx=004774160799092323420%3A6-ff2s0o6yi&q=unit+test -ap ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: unit testing 2011-03-03 20:41 ` Andreas Politz @ 2011-03-03 23:10 ` Tim X 0 siblings, 0 replies; 3+ messages in thread From: Tim X @ 2011-03-03 23:10 UTC (permalink / raw) To: help-gnu-emacs Andreas Politz <politza@fh-trier.de> writes: > Perry Smith <pedzsan@gmail.com> writes: > >> Is there any quasi-formal test unit system already available? > > http://www.google.com/cse?cx=004774160799092323420%3A6-ff2s0o6yi&q=unit+test > > -ap FWIW emacs 24 now includes a package for regression testing ERT is a tool for automated testing in Emacs Lisp. Its main features are facilities for defining tests, running them and reporting the results, and for debugging test failures interactively. ERT is similar to tools for other environments such as JUnit, but has unique features that take advantage of the dynamic and interactive nature of Emacs. Despite its name, it works well both for test-driven development (see `http://en.wikipedia.org/wiki/Test-driven_development') and for traditional software development methods. Tim -- tcross (at) rapttech dot com dot au ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-03 23:10 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-02-22 22:12 unit testing Perry Smith [not found] <mailman.3.1298412765.11499.help-gnu-emacs@gnu.org> 2011-03-03 20:41 ` Andreas Politz 2011-03-03 23:10 ` Tim X
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.