Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-3097

Request for Mocking Capabilities in gremlin-go for Easier Unit Testing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.7.2
    • None
    • go
    • None

    Description

      I have been using the gremlin-go library and found that it currently lacks built-in mocking capabilities. This absence makes it challenging to perform unit testing effectively.

      As a workaround, I have defined an additional interface layer between the caller and gremlin-go, which allows me to unit test the business logic of the caller. However, this is not the most efficient solution.

      It would be significantly more convenient if the gremlin-go library could provide native support for mocking. This feature would streamline the testing process and improve the library's usability.

      I look forward to your response and further discussion on this matter.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thomas-dg thomas-dg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: