Commit Graph

24 Commits

Author SHA1 Message Date
Eric Schulte 63faebd64b more robust test execution with `org-test-run-all-tests'
* testing/org-test.el (org-test-touch-all-examples): Open all example
  files -- seems to help resolution of org ids.
  (org-test-run-all-tests): Open all example files before running
  tests.
2011-08-23 08:36:49 -06:00
Sergey Litvinov 55fe477899 Get rid of tmp and backup file in test load 2011-08-05 11:29:41 -06:00
Martyn Jago 38bc761e21 Modified testing/README.org to include ERT installation information for Emacs version < 24. Added new tests 2011-03-02 11:46:47 -07:00
Martyn Jago ed89b9cdca Changes to suit latest ert structure. ERT is now a part of EMACS and the source of the ERT git submodule is deprecated, as are some files within. Changes testing/README and .gitmodules to suit. 2011-03-01 09:59:01 -07:00
David Maus 415d4fbf38 New function: Strip text properties
* org-test.el (org-test-strip-text-props): New function. Strip text
properties.
2011-02-01 06:28:34 +01:00
David Maus 6de7ac6b89 New function: Run all tests for current file
* org-test.el (org-test-current-file): New function.  Run all tests
for current file.
2010-11-22 19:29:05 +01:00
David Maus f99197e143 `which-function' does not return a list, but the name of the function
* org-test.el (org-test-current-defun): `which-function' does not
return a list, but the name of the function.
2010-11-02 21:11:16 +01:00
Eric Schulte 3ab7f12792 org-test is now ready for the newyears 2010-10-21 13:06:00 +01:00
Eric Schulte a9f3c9fe11 now using newer version of jump.el -- run $ git submodule update 2010-10-21 13:05:59 +01:00
Eric Schulte 19efdcca43 added tangle tests exercising new desired tangling behavior 2010-10-06 10:23:50 -06:00
Eric Schulte be42b2fb51 ensuring that test files include org-test in their load path
again thanks to Nick Dokos for pointing this out
2010-10-06 09:02:25 -06:00
Eric Schulte d9e4469c1c updated testing/README.org describing how to get started writing tests 2010-10-05 20:55:45 -06:00
Eric Schulte e1b90eea45 ob-exp: fixed export when headings have links, with tests
also some organization of the test directory

* lisp/ob-exp.el (org-babel-exp-src-blocks): fixed export when
  headings have links, with tests
2010-10-05 11:54:48 -06:00
Eric Schulte 41cde9d9bd test: re-arranging example files into their own directory 2010-10-05 11:54:48 -06:00
Eric Schulte d6143f1e7a added a test ensuring that export works from buffers which aren't visiting files 2010-10-05 11:54:48 -06:00
Eric Schulte 49b22bb57e more permissive selector in `org-test-run-all-tests' 2010-10-05 11:54:48 -06:00
Eric Schulte 5bafe303aa beginning tests for ob-exp, and related improvements to org-test
- fixed issue in creation of new files
  - fixed issue in org-test-in-file
  - new example file w/o any headlines
2010-10-05 11:54:48 -06:00
Eric Schulte 9bd5f511ce improving test-helper macros for better name-spaceing and more flexibility 2010-10-05 11:54:48 -06:00
Eric Schulte 271d1bb986 fixed `org-test-load' so that is recursively loads all test files 2010-10-05 11:54:48 -06:00
Eric Schulte e694d1fe39 requiring ert and jump, and using jump for navigation `org-test-jump' 2010-10-05 11:54:48 -06:00
Eric Schulte 58b0242bcb updating org-testing requires to load ert and jump.el 2010-10-05 11:54:48 -06:00
Eric Schulte 70ee58a8ab merge ert-testing and schulte-testing, temporarily removing navigation functions 2010-10-05 11:54:48 -06:00
Sebastian Rose, Hannover, Germany 2b52d1911c Create a test file per defun.
* org-test-which-func: New function.  Find name of defun around point.

* org-test-ensure-buffer-emacs-lisp-p: New function.  Ensure a buffer
  hold an elisp file based on filename extension.
2010-10-05 11:54:48 -06:00
Sebastian Rose, Hannover, Germany 399e488146 Initial ERT test: org-test.el 2010-10-05 11:54:48 -06:00