Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1293

as a developer I'd like to build continuously using external build

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Under the Project Settings / Compiler / Use external build checkbox there is the option 'Make project automatically'.

      Enabling this feature runs 'continuous compilation', i.e. all sources are compiled as soon as they're modified (as saved actually, which happens automatically).

      It means that we'd have Clover instrumenter called thousands of times during single IDEA IDE run. It means it would produce thousands of instrumentation sessions. And the current db structure is quite linear in search. And it would create thousands of coverage recorders - one instance per each class, practically.

      Database structure and coverage records would have to be optimized for such continuous build approach.

      Possible solutions:

      • no instrumentation sessions, when new session starts, remove old data related with a source file being compiled and add the new one; might require extra index for fast search for the latest version
      • using a SHARED coverage recorder;
      • file-based hit count array indexes instead of the global one?

              Unassigned Unassigned
              mparfianowicz Marek Parfianowicz
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: