gongzhitaao <zhitaao.g...@gmail.com> writes: > Maybe it is good if someone could finish a test suit for Orgmode so > that it does not break things unexpectedly. (I'd be happy to if > someone could give me some guidance into the code structure) >
The test suite is in the testing/ subdirectory of the org-mode git repo. The README file in that directory is a good introduction. Beyond that, you have to look at an example from the testing/lisp/ subdirectory: just choose one that is as simple as possible and tests a feature that you understand well. The test suite is invoked with "make test" from the main org-mode directory. It uses the ERT structure: (info "(ert) Top") HTH. -- Nick