jscience
  1. jscience
  2. JSCIENCE-120

Contribution: regression testsuite for number package

    Details

    • Type: Task Task
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: Version 6.0
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      120

      Description

      Hi!

      After talking to Jean-Marie I started writing a regression testsuite for the
      number package, since there are a quite a couple of bugs. Here is my first shot.
      It is not yet complete (about 50% code coverage of
      org.jscience.mathematics.number) but I need some feedback, since major changes
      become more and more a pain the more tests there are. Thanks!

      Hans-Peter

        Activity

        Hide
        hstoerr added a comment -

        Created an attachment (id=17)
        Preliminary testsuite for the number package.

        Show
        hstoerr added a comment - Created an attachment (id=17) Preliminary testsuite for the number package.
        Hide
        hstoerr added a comment -

        Created an attachment (id=20)
        Testsuite and fixed sources for the number package, zip.

        Show
        hstoerr added a comment - Created an attachment (id=20) Testsuite and fixed sources for the number package, zip.
        Hide
        hstoerr added a comment -

        The file jsciencetestsandfixes-090219.zip contains my testsuite for the number
        package and the sourcefiles with fixed bugs. And there is a modified ant
        buildfile that compiles and executes the tests and builds the jars only if the
        tests execute without exceptions.

        The file numbertestsuite.zip can be deleted.

        Unfortunately I haven't reached my goal of zero known bugs for the number
        package. The Real class contains still known bugs and I think there are
        functionality changes necessary. There are only tests that do not cover the
        error functionality. But I don't have the time for this at the moment, so don't
        wait for it with the release.

        I've covered most of the methods - the code coverage is at 90%. One could
        probably expand the ComplexTestSuite a little and RealTestSuite, of course.

        Best regards,

        Hans-Peter

        Show
        hstoerr added a comment - The file jsciencetestsandfixes-090219.zip contains my testsuite for the number package and the sourcefiles with fixed bugs. And there is a modified ant buildfile that compiles and executes the tests and builds the jars only if the tests execute without exceptions. The file numbertestsuite.zip can be deleted. Unfortunately I haven't reached my goal of zero known bugs for the number package. The Real class contains still known bugs and I think there are functionality changes necessary. There are only tests that do not cover the error functionality. But I don't have the time for this at the moment, so don't wait for it with the release. I've covered most of the methods - the code coverage is at 90%. One could probably expand the ComplexTestSuite a little and RealTestSuite, of course. Best regards, Hans-Peter

          People

          • Assignee:
            jscience-issues
            Reporter:
            hstoerr
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: