Skip to content

Add ERT tests and batch testing infrastructure#18

Open
uwabami wants to merge 1 commit intokametoku:masterfrom
uwabami:add_test
Open

Add ERT tests and batch testing infrastructure#18
uwabami wants to merge 1 commit intokametoku:masterfrom
uwabami:add_test

Conversation

@uwabami
Copy link
Copy Markdown
Contributor

@uwabami uwabami commented Mar 9, 2026

I'm submitting this PR to introduce a basic testing framework using ERT. Having an automated test suite will make it much easier and safer to maintain the package and catch any regressions, especially when making updates for newer Emacs environments in the future.

Here is a summary of the changes:

  • test/orgmine-tests.el: Added simple ERT tests based on sample.org.
  • test/test-helper.el: Added a dependency installer for batch testing.
  • Makefile: Added a test target for easy batch execution.
  • .gitignore: Updated to ignore package-vc generated files (*-pkg.el, *-autoloads.el) and the .test-elpa dependency directory.

Please let me know if you need any adjustments or have any questions. Thanks!

* test/orgmine-tests.el: Add simple ERT tests based on sample.org.
* test/test-helper.el: Add dependency installer for batch testing.
* Makefile: Add test target for batch execution.
* .gitignore:
  - package-vc generated files (*-pkg.el, *-autoloads.el)
  - .test-elpa dependency directory.

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant