Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-391 Allow per-test coverage to be recorded across multiple JVMs
  3. CLOV-499

Ability to toggle distributed coverage on/off at runtime -Dclover.distributed.coverage=OFF|ON

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Medium
    • 2.5
    • None
    • Test Optimization
    • None

    Description

      Make it possible for users to enable/disable clover networking at runtime, without the need for a re-instrumentation and compilation of source files.

      Currently, distributed coverage can be disabled via:
      -Dclover.distributed.coverage=OFF
      on either the Test or the Application JVM. This will turn off distributed coverage for the JVM in which this is set, regardless of what was instrumented.

      Distributed coverage can be enabled via setting the System property:
      -Dclover.distributed.coverage=ON
      This will enable distributed coverage with default settings.
      Clover also needs to know which JVM is hosting your unit tests, by providing the following system property:
      -Dclover.server=true .

      Attachments

        Activity

          People

            npellow Nick
            npellow Nick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: