Skip to content

testcase: dump/load only minimal data for marshaling#344

Merged
kou merged 2 commits intotest-unit:masterfrom
tikkss:testcase-dump-load-only-minimal-data
Dec 13, 2025
Merged

testcase: dump/load only minimal data for marshaling#344
kou merged 2 commits intotest-unit:masterfrom
tikkss:testcase-dump-load-only-minimal-data

Conversation

@tikkss
Copy link
Copy Markdown
Contributor

@tikkss tikkss commented Dec 12, 2025

A user can freely set instance variables on a TestCase object, and they may include non marshalable objects such as Proc or IO objects.

In addition, dynamically data driven tests include Proc objects in their test data.

These can make Marshal.dump fail.

For future multi-process based parallelization support. Part of GH-235.

A user can freely set instance variables on a `TestCase` object, and
they may include non marshalable objects such as `Proc` or `IO` objects.

In addition, dynamically data driven tests include `Proc` objects in
their test data.

These can make `Marshal.dump` fail.

For future multi-process based parallelization support. Part of test-unitGH-235.

Co-authored-by: Sutou Kouhei <kou@clear-code.com>
Co-authored-by: Naoto Ono <onoto1998@gmail.com>
@kou kou merged commit f0ddbe7 into test-unit:master Dec 13, 2025
36 checks passed
@tikkss
Copy link
Copy Markdown
Contributor Author

tikkss commented Dec 13, 2025

Thanks for the cosmetic changes!

@tikkss tikkss deleted the testcase-dump-load-only-minimal-data branch December 13, 2025 11:28
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.

2 participants