Yota Hamada
c225d17b26
Default to an empty default mock in dagu test
...
A test file without default_mock now behaves as if it had
default_mock: {}. An action with side effects that a case neither
mocks nor lists under real takes the default mock instead of making
the case invalid, so a test file no longer needs a {} line per step,
and adding a step to a DAG no longer invalidates its tests.
The report already lists the steps that took the default mock, so an
unscripted step stays visible, and only a step under real runs an
action with side effects. Sources the default mock cannot handle,
such as a precondition that runs a command, still make the case
invalid. The fix and dagu test --init now hold only what those
sources need.
2026-11-30 13:01:20 +09:00
..
2026-07-31 17:10:54 +09:00
2026-11-12 19:04:13 +09:00
2026-08-13 17:16:07 +09:00
2026-11-14 02:20:39 +09:00
2026-11-27 00:11:24 +09:00
2026-10-08 15:45:46 +09:00
2026-10-12 19:20:12 +09:00
2026-10-12 19:20:12 +09:00
2026-10-26 19:05:48 +09:00
2026-10-30 16:11:02 +09:00
2026-09-27 22:18:27 +09:00
2026-10-26 20:12:49 +09:00
2026-10-26 20:12:49 +09:00
2026-10-26 20:12:49 +09:00
2026-11-01 22:18:54 +09:00
2026-11-27 00:11:24 +09:00
2026-11-28 03:42:47 +09:00
2026-11-27 12:59:25 +09:00
2026-10-02 09:26:02 +09:00
2026-08-02 16:23:56 +09:00
2026-11-25 14:07:59 +09:00
2026-11-28 21:34:00 +09:00
2026-10-24 18:00:47 +09:00
2026-11-05 14:52:06 +09:00
2026-10-30 02:04:59 +09:00
2026-11-05 14:52:06 +09:00
2026-10-25 00:33:20 +09:00
2026-11-28 02:51:37 +09:00
2026-11-29 00:25:02 +09:00
2026-11-29 00:25:02 +09:00
2026-11-29 13:35:14 +09:00
2026-11-29 00:25:02 +09:00
2026-11-29 00:25:02 +09:00
2026-11-29 13:35:14 +09:00
2026-08-28 13:54:05 +09:00
2026-08-28 13:54:05 +09:00
2026-11-26 12:56:50 +09:00
2026-10-07 20:44:06 +09:00
2026-10-07 20:44:06 +09:00
2026-11-26 23:47:06 +09:00
2026-11-29 02:18:55 +09:00
2026-11-28 10:43:35 +09:00
2026-11-29 13:35:14 +09:00
2026-11-29 13:35:14 +09:00
2026-11-26 16:44:50 +09:00
2026-08-13 17:16:07 +09:00
2026-11-12 17:52:44 +09:00
2026-08-21 16:23:41 +09:00
2026-10-16 20:44:36 +09:00
2026-11-27 19:41:19 +09:00
2026-08-14 14:23:40 +09:00
2026-11-27 12:48:21 +09:00
2026-11-27 12:48:21 +09:00
2026-11-26 16:24:27 +09:00
2026-11-27 12:48:21 +09:00
2026-08-25 21:28:56 +09:00
2026-10-01 00:32:19 +09:00
2026-11-27 15:56:07 +09:00
2026-11-26 23:47:06 +09:00
2026-08-09 10:31:46 +09:00
2026-10-07 21:26:40 +09:00
2026-11-27 11:14:55 +09:00
2026-07-31 17:10:54 +09:00
2026-10-16 17:27:00 +09:00
2026-11-23 20:24:24 +09:00
2026-11-29 02:18:55 +09:00
2026-11-25 15:28:36 +09:00
2026-11-29 02:18:55 +09:00
2026-08-09 10:31:46 +09:00
2026-11-28 12:05:41 +09:00
2026-11-27 11:14:55 +09:00
2026-10-07 21:35:22 +09:00
2026-11-13 22:03:32 +09:00
2026-09-24 00:35:32 +09:00
2026-09-24 17:43:27 +09:00
2026-11-26 12:49:48 +09:00
2026-11-26 12:49:48 +09:00
2026-11-28 05:07:56 +09:00
2026-11-27 10:45:42 +09:00
2026-11-24 00:54:36 +09:00
2026-11-26 14:10:59 +09:00
2026-11-23 16:12:25 +09:00
2026-11-27 22:11:18 +09:00
2026-11-26 11:22:12 +09:00
2026-11-26 11:22:12 +09:00
2026-11-26 11:22:12 +09:00
2026-11-14 16:44:23 +09:00
2026-11-27 12:21:12 +09:00
2026-11-27 12:21:12 +09:00
2026-11-24 13:16:24 +09:00
2026-11-26 13:47:14 +09:00
2026-11-26 14:10:59 +09:00
2026-11-26 13:47:14 +09:00
2026-11-26 13:47:14 +09:00
2026-10-01 00:32:19 +09:00
2026-10-01 00:32:19 +09:00
2026-11-28 02:20:04 +09:00
2026-11-28 10:43:35 +09:00
2026-11-29 01:39:22 +09:00
2026-11-28 04:05:57 +09:00
2026-11-27 11:43:31 +09:00
2026-11-27 18:02:57 +09:00
2026-11-27 18:02:57 +09:00
2026-07-31 17:10:54 +09:00
2026-07-31 17:10:54 +09:00
2026-10-07 21:35:22 +09:00
2026-11-28 12:05:41 +09:00
2026-11-27 00:11:24 +09:00
2026-11-27 12:21:12 +09:00
2026-11-27 11:14:55 +09:00
2026-11-27 12:21:12 +09:00
2026-10-03 11:11:55 +09:00
2026-11-27 00:11:24 +09:00
2026-09-13 00:58:40 +09:00
2026-09-13 00:58:40 +09:00
2026-11-28 21:34:00 +09:00
2026-10-01 00:32:19 +09:00
2026-11-25 17:33:52 +09:00
2026-11-25 17:33:52 +09:00
2026-11-29 00:25:02 +09:00
2026-11-26 13:47:14 +09:00
2026-11-26 13:47:14 +09:00
2026-10-13 16:21:54 +09:00
2026-11-27 18:02:57 +09:00
2026-11-23 18:41:45 +09:00
2026-11-27 19:41:19 +09:00
2026-08-14 14:23:40 +09:00
2026-08-09 10:31:46 +09:00
2026-11-26 17:38:39 +09:00
2026-11-27 22:11:18 +09:00
2026-09-27 22:18:27 +09:00
2026-11-12 17:54:22 +09:00
2026-11-27 12:03:34 +09:00
2026-11-29 13:35:14 +09:00
2026-11-26 10:19:26 +09:00
2026-11-27 15:56:07 +09:00
2026-11-05 14:32:05 +09:00
2026-11-24 03:17:37 +09:00
2026-11-24 03:17:37 +09:00
2026-11-25 19:58:19 +09:00
2026-11-26 23:47:06 +09:00
2026-11-24 11:58:00 +09:00
2026-11-28 10:43:35 +09:00
2026-11-27 11:43:31 +09:00
2026-11-15 18:42:09 +09:00
2026-11-15 18:42:09 +09:00
2026-07-31 17:10:54 +09:00
2026-11-26 23:48:48 +09:00
2026-10-01 16:13:59 +09:00
2026-10-01 00:32:19 +09:00
2026-10-11 15:34:46 +09:00
2026-11-27 18:02:57 +09:00
2026-11-27 18:21:08 +09:00
2026-11-23 00:22:15 +09:00
2026-11-23 00:22:15 +09:00
2026-11-28 12:05:41 +09:00
2026-11-15 17:11:38 +09:00
2026-11-28 02:20:04 +09:00
2026-11-28 18:02:17 +09:00
2026-08-13 00:03:21 +09:00
2026-11-12 21:03:55 +09:00
2026-08-13 00:03:21 +09:00
2026-11-27 00:11:24 +09:00
2026-11-01 22:18:55 +09:00
2026-11-27 15:56:07 +09:00
2026-11-25 23:07:54 +09:00
2026-11-27 12:59:25 +09:00
2026-11-26 10:19:26 +09:00
2026-11-27 15:01:03 +09:00
2026-11-30 13:01:20 +09:00
2026-11-29 01:07:02 +09:00
2026-11-27 12:59:25 +09:00
2026-11-29 01:07:02 +09:00
2026-11-29 01:07:02 +09:00
2026-11-29 01:07:02 +09:00
2026-11-27 13:57:49 +09:00
2026-11-27 15:01:03 +09:00
2026-11-27 12:59:25 +09:00
2026-11-30 13:01:20 +09:00
2026-11-14 19:17:47 +09:00
2026-11-26 23:47:06 +09:00
2026-10-07 16:23:44 +09:00
2026-11-27 00:11:24 +09:00
2026-07-31 17:10:54 +09:00
2026-08-14 14:23:40 +09:00
2026-11-29 06:08:06 +09:00
2026-11-29 06:08:06 +09:00
2026-11-29 06:08:06 +09:00
2026-11-29 02:18:55 +09:00
2026-11-29 06:08:06 +09:00
2026-10-16 17:27:00 +09:00
2026-10-16 17:27:00 +09:00
2026-10-16 17:27:00 +09:00
2026-11-29 01:39:22 +09:00
2026-11-29 06:08:06 +09:00
2026-10-03 23:34:44 +09:00
2026-10-19 23:31:22 +09:00
2026-10-19 23:31:22 +09:00