Commit Graph

35 Commits

Author SHA1 Message Date
ccd1764acb Remove 'doom sync' from shell.nix
Let user decide what they want to do upon starting the shell. We
accommodate the user that wants simple access to Emacs 26/27/HEAD.
2020-05-25 15:55:28 -04:00
18be6cd37b Add test/shell.nix files for Emacs 26 & HEAD 2020-01-09 22:56:26 -05:00
9c93c453e8 Reorganize unit-tests and test workflow
+ Moved unit tests out of tests/ and into their respective modules.
+ Rewrite makefile and added these tasks:
  + <MODULE>/<SUBMODULE> -- byte-compile a specific module
  + test:<MODULE>/<SUBMODULE> -- runs tests for a specific module
  + testi -- run tests in an interactive session of Emacs (WIP)
  + run -- opens an Emacs session with this config; useful when it is in
    a non-standard location.
2017-06-14 21:15:19 +02:00
d9d049549f By default, empty buffer-file-name = unreal buffer 2017-06-12 14:28:59 +02:00
3f5c828169 Add :tools password-store to init.test.el 2017-06-12 02:45:53 +02:00
febd14a9f2 Add tools/password-store unit test (#103) 2017-06-12 02:40:14 +02:00
4984a548d1 Refactor DOOM init & add new init hooks
+ Add doom-init-hook and doom-post-init-hook to simplify Emacs init
  hooks into less ambiguous ones.
+ Attach former after-init-hook and emacs-startup-hook hooks to new doom
  init hooks.
+ Vastly improves daemon and tty support: preventing incorrect colors
  from bleeding across face class barriers, and into GUI Emacs and vice
  versa, when spawned with emacsclient.
+ Fix persp-mode breaking Emacs daemon, and ensuring that initialization
  is done properly in terminal Emacs (and emacsclient frames).
2017-06-12 00:37:14 +02:00
d9e422d64a Add autoload/debug.el unit tests 2017-06-10 16:08:15 +02:00
4be5ff1092 Redo unit-test initialization 2017-06-09 01:09:19 +02:00
1e47728430 Add core-lib remove-hook-forms test 2017-06-08 13:52:27 +02:00
4d487c3e0f Rewrite buffer tests; refactor doom-kill-buffer 2017-06-08 13:46:23 +02:00
baad7953bf Breaking change: rewrite add-transient-hook!
HOOK is now evaluated. Hooks should be quoted (and functions
sharp-quoted).

This also fixes commit 0150f78e.
2017-06-05 16:43:14 +02:00
ee1fc701b9 Check for tool-bar-mode (fix 25.1 travis test) 2017-06-04 21:28:19 +02:00
760297f9fa Don't enter debugger in unit tests 2017-06-04 20:10:32 +02:00
84e088cc8c Slim down init.test.el 2017-06-04 20:09:22 +02:00
94f8e7768b Add :cp, refactor evil file commands, add tests 2017-05-28 02:48:20 +02:00
a879f289e1 Add unit-test init.el 2017-05-19 23:52:37 +02:00
b48524d617 feature/evil: remove :P modifier test 2017-04-16 16:50:55 -04:00
fedfa1ffad Generalize message! & format! (interactive vs noninteractive) 2017-04-15 03:14:03 -04:00
e48c6c5381 ansi-{format,message}! => {format,message}! (to be generalized) 2017-04-15 01:29:24 -04:00
a71ca4d340 feature/evil: abbreviate :P filename modifier 2017-04-15 01:28:38 -04:00
f5b3baf09e feature/evil: generalize custom file modifiers + unit test 2017-04-15 01:22:42 -04:00
82447f7e08 test/core/autoload/test-message: add more tests 2017-04-12 21:40:51 -04:00
b1442cb4eb Fix ansi-format tests 2017-04-12 11:00:49 -04:00
0e6e0a2991 Disable evil test (incomplete) 2017-04-12 10:52:26 -04:00
8f6ec7a26e Add test/core/autoload/test-message 2017-04-12 10:52:12 -04:00
3dbbf2a905 Reorganize core tests 2017-04-12 10:51:54 -04:00
e3a33f6a9e Rename doom-protected-packages => doom-core-packages 2017-04-11 08:42:55 -04:00
a410ea0f21 Add test/modules/feature/test-evil.el 2017-04-05 21:43:14 -04:00
06855b3417 Reorganize tests 2017-04-05 21:42:53 -04:00
598f3bc640 test/test-core-lib-buffers: rearrange buffer & membership checks 2017-04-05 14:25:46 -04:00
acb7536e64 Add core-lib & core-lib-{buffers,package} unit tests + tasks 2017-04-04 22:18:52 -04:00
e17430de10 Remove tests 2017-02-20 12:01:39 -05:00
70a1fb52cc Add unit-test framework & stubs 2017-02-20 00:23:07 -05:00
ad12b9057b Add unit test framework 2016-10-02 16:19:54 +02:00