Skip to content

Add jprove test harness wrapper#371

Merged
fglock merged 4 commits into
masterfrom
feature/add-jprove
Mar 25, 2026
Merged

Add jprove test harness wrapper#371
fglock merged 4 commits into
masterfrom
feature/add-jprove

Conversation

@fglock
Copy link
Copy Markdown
Owner

@fglock fglock commented Mar 25, 2026

Summary

  • Add jprove wrapper script to run Perl's standard prove test harness with jperl
  • Import prove script, App::Prove modules, and IO::Select module
  • Add Test-Harness tests to perl5_t/Test-Harness/
  • Document jprove in docs/reference/testing.md
  • Update changelog

Usage

./jprove src/test/resources/unit    # Run unit tests
./jprove -v t/*.t                   # Verbose output
./jprove -j4 -r t/                  # Parallel, recursive

Test Plan

  • ./jprove --version works
  • ./jprove src/test/resources/unit runs tests successfully
  • make passes

Generated with Devin

fglock and others added 4 commits March 25, 2026 09:37
- Add prove script to src/main/perl/bin/prove
- Add App::Prove and App::Prove::State modules
- Add IO::Select module (required by TAP::Parser::Multiplexer)
- Create jprove wrapper script (similar to jcpan)
- Update config.yaml to import Test-Harness tests to perl5_t/

Test-Harness test summary (from perl5_t/Test-Harness/):
- Many tests pass: base.t, aggregator.t, callbacks.t, console.t,
  errors.t, file.t, grammar.t, harness-bailout.t, harness-subclass.t,
  iterators.t, nested.t, object.t, results.t, bailout.t, env_opts.t
- Some tests have partial failures due to missing features
- regression.t is slow (2000+ subtests) but works

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Document the jprove wrapper in docs/reference/testing.md alongside
the existing perl_test_runner.pl documentation.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
PerlOnJava has a custom constant.pm implementation that should not
be overwritten by sync.pl.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@fglock fglock merged commit ba5205a into master Mar 25, 2026
2 checks passed
@fglock fglock deleted the feature/add-jprove branch March 25, 2026 09:01
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