Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70719

Create single-test unit test binaries for local development iteration

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Build

      When working on a single file it would be nice to iterate on just building that file rather than the whole file. 

      Quoting jason.chan@mongodb.com 

      Additionally, it’d be really nice to locally build a single test file. For example, I’d like to be able to generate an executable for producer_consumer_queue_test locally to minimize compile time when I’m working on that class. Today, we’d be able to do that but it’d involve defining a new CppUnitTest for every individual test file. I’m wondering if there’s something more clever that can be done with the CppUnitTest target to infer that a sub-target should be generated for each cpp file, and then keep it out of the evergreen build.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: