Adding tests to and refactoring the perl debugger - Grant Report #2

1 Comment

Shlomi Fish reported:

2012-Sep-01:

2012-Sep-02:

2012-Sep-04:

  • Plans for today:

    • Write more tests for the L command.

      • Done.
    • Write more tests in general.

      • Wrote some for S. There are more commands in perldoc perldebug following it that already have test coverage.

2012-Sep-05:

2012-Sep-06:

  • Added a test for the a [line] command command and noticed a failure (which had been reported to perl5-porters).

    • Corrected the lib/perl5db.pl and test now passes.
  • Added a test for the A line command.

  • Added a test for the A * command.

  • Added two Bash functions to my _Theme perl/core to facilitate testing the entire perl core distribution, and running only lib/perl5db.t.

1 Comment

I would like to see the ability to run module tests as if under perl -d. There are some differences between the debugger environment and the pure interpreter that can break things in the debugger.

Allowing test suites to run via test_harness using the developer would help catch those problems. It could also generate reports of edge cases and such that could help to make the debugger itself more robust.

Leave a comment

About TPF

The Perl Foundation - supporting the Perl community since 2000. Find out more at www.perlfoundation.org.

Recent Comments

  • CHM: I would like to see the ability to run module read more

About this Entry

This page contains a single entry by Alan Haggai Alavi published on September 7, 2012 7:35 PM.

Improving Cross compilation of Perl 5 - report for July/August was the previous entry in this blog.

Spanish Localization of the Perl Core Documentation - Grant Report #3 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.38