Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-54593

[TC] [Objstore] Improve function names in testify testing

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Minor
    • master
    • master
    • tools-common
    • None
    • 0

    Description

      What's the issue?
      The unit testing in 'objstore' doesn't use useful function names for mocked functions. As an example, fn1.

      What's the fix?
      We should look to improve this. There's a couple of issues to consider:

      1. Variable name shaddowing
      2. Different typing for shaddowed variables

      I believe this is why we chose to use this type of naming initially.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            james.lee James Lee
            james.lee James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty