Unit tests should have source maps

XMLWordPrintableJSON

    • 1
    • Not Needed
    • None
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... Node Driver developer
      I want... accurate source maps for unit tests
      So that... I can accurately debug unit tests.

      User Experience

      • User is developer
      • Currently, stepping through unit tests is problematic because the source doesn't match the executing code
      • Screenshot illustrating issue attached

      Dependencies

      • None

      Risks/Unknowns

      • None

      Acceptance Criteria

      Implementation Requirements

      • While debugging unit tests (in particular, ones that use hostMatchesWildcards), the debugger shows us the correct line being executed

      Testing Requirements

      • all tests are still passing
      • correct lines shown while debugging a unit test

      Documentation Requirements

      • none

      Follow Up Requirements

      • none

            Assignee:
            Sean Milligan
            Reporter:
            Pavel Safronov
            Pavel Safronov, Sergey Zelenov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: