Commit Graph

21 Commits

Author SHA1 Message Date
d92f518e1e Add context_id to py_func and lua_func for shared persistent subprocess
- py_func and lua_func items accept a context_id parameter; items sharing
  the same id reuse the same subprocess for the duration of the test run
- Subprocess-side tm.setgd/tm.gd use a local fallback dict for non-JSON-
  serializable values (py_func only); serializable values reach the main
  process global dict and are accessible from any test item or subprocess
- Shared subprocess engines are cleaned up in process.py finally block
- LuaProcessBase gains is_alive() (was missing, broke all lua_func items)
- Validation tests cover serializable sharing across different context ids,
  non-serializable sharing within the same context_id, and cross-item access
- RST documentation updated for both py_func and lua_func items

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 16:02:36 +02:00
02f93df1d5 python func validation ok. 2026-02-15 15:50:10 +01:00
1da1b2f9fd Merge branch 'main' of ssh://cahute.beafrancois.fr:8329/v-and-v/testium 2026-02-14 23:53:37 +01:00
da44ed7dc7 various small improvements.
lua_func validation in progress.
2026-02-14 23:53:34 +01:00
bc3ac40cef Various fixes for windows 2026-02-14 13:29:22 +01:00
899857767a Changed (once again) the evaluation delimiters (<| and |>) 2026-02-13 18:51:49 +01:00
7be413779b harmonization with python var names (lua_path --> lua_bin) 2026-01-25 15:10:10 +01:00
33c45fae29 doc updated with changes. 2026-01-25 15:04:13 +01:00
60636b4fd2 processes management refundation.
Evaluation removed from conditions, let and exit_conditional
2026-01-25 15:03:52 +01:00
0931eb2a8e Doc changed following changes in python environment management changes. 2026-01-16 20:08:27 +01:00
df2a3a1681 doc updated 2026-01-16 18:46:45 +01:00
0459c9ff27 removed support of xml and json config.
Changed the evaluation pattern to $|x|.
2026-01-04 15:10:11 +01:00
5a86e498d2 Changed expression evaluation opening and closing pattern. 2026-01-04 14:30:49 +01:00
7954f2cb2b doc and various fixes of lua for windows 2026-01-03 19:29:14 +01:00
fd1e602960 many changes. Still not working lua server. 2026-01-03 02:31:56 +01:00
eac14616b8 lua proc started only if lua test items present. 2026-01-02 00:19:26 +01:00
2e9c5e6c52 added debug features to the lua and python jrpc servers.
Added doc of lua func item
2025-12-31 13:38:19 +01:00
f54e09098a close to the lua func goal. 2025-12-30 19:30:19 +01:00
fb041f6570 added lua function test item 2025-12-30 14:24:24 +01:00
0ded2d4be9 lua process implemented 2025-12-30 12:59:20 +01:00
59d19cb48c Project restart 2025-12-29 10:46:05 +01:00