Couchbase

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Couchbase.com Access more options
    • Why NoSQL?
    • Couchbase Server
    • Download
    • Learn
    • Careers
Couchbase .NET client library
  • Couchbase .NET client library
  • NCBC-203

Restructure .NET tests

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Eliminate redundant tests. I see there are some repetitive tests which differ only by 1-2 parameters. For example, we don't need individual functions for each scenario of observe, and it should be possible to abstract this all into a single function, with different tests just calling into that function with different parameters.

I recall that you brought this up as a concern before; now it's a task :)
  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    Couchbase.Tests.zip
    11/Dec/12 3:34 PM
    43 kB
    Saakshi Manocha
    1. File
      Couchbase.Tests.csproj 7 kB
    2. File
      CouchbaseAuthenticatedViewTests.cs 4 kB
    3. File
      CouchbaseClientCasTests.cs 3 kB
    4. File
      CouchbaseClientConcatTests.cs 8 kB
    5. File
      CouchbaseClientConfigTests.cs 2 kB
    6. File
      CouchbaseClientExtensionsTests.cs 3 kB
    7. File
      CouchbaseClientGenericViewTests.cs 4 kB
    8. File
      CouchbaseClientGetTests.cs 8 kB
    9. File
      CouchbaseClientMutateTests.cs 2 kB
    10. File
      CouchbaseClientObserveTests.cs 14 kB
    11. File
      CouchbaseClientRemoveTests.cs 3 kB
    12. File
      CouchbaseClientSpatialViewTests.cs 7 kB
    13. File
      CouchbaseClientStoreTests.cs 5 kB
    14. File
      CouchbaseClientTestsBase.cs 5 kB
    15. File
      CouchbaseClientViewNameTransformerTests.cs 3 kB
    16. File
      CouchbaseClientViewPagingTests.cs 4 kB
    17. File
      CouchbaseClientViewParameterTests.cs 9 kB
    18. File
      CouchbaseClientViewReduceTests.cs 2 kB
    19. File
      CouchbaseClientViewTests.cs 1 kB
    20. File
      CouchbaseClientViewTestsBase.cs 4 kB
    21. File
      CouchbaseClusterBucketAdminTests.cs 28 kB
    22. File
      CouchbaseClusterTestsBase.cs 1 kB
    23. File
      CouchbaseJsonExtensionTests.cs 3 kB
    24. File
      DefaultCouchbaseClientConfigurationTests.cs 15 kB
    25. File
      HeartbeatConfigTests.cs 5 kB
    26. File
      HttpClientConfigTests.cs 4 kB
    27. File
      App.config 6 kB
    28. File
      ConfigHelperTests.cs 3 kB
    Download Zip
    Show
    Zip Archive
    Couchbase.Tests.zip
    11/Dec/12 3:34 PM
    43 kB
    Saakshi Manocha
  2. Hide
    Zip Archive
    couchbase.tests.changedfiles.zip
    18/Dec/12 12:42 PM
    22 kB
    Saakshi Manocha
    1. File
      CouchbaseClusterBucketAdminTests.cs 28 kB
    2. File
      DefaultCouchbaseClientConfigurationTests.cs 15 kB
    3. File
      HeartbeatConfigTests.cs 5 kB
    4. File
      HttpClientConfigTests.cs 4 kB
    5. File
      App.config 5 kB
    6. File
      ConfigHelperTests.cs 3 kB
    7. File
      CouchbaseAuthenticatedViewTests.cs 4 kB
    8. File
      CouchbaseClientCasTests.cs 3 kB
    9. File
      CouchbaseClientConcatTests.cs 8 kB
    10. File
      CouchbaseClientConfigTests.cs 2 kB
    11. File
      CouchbaseClientObserveTests.cs 14 kB
    12. File
      CouchbaseClientViewTestsBase.cs 4 kB
    Download Zip
    Show
    Zip Archive
    couchbase.tests.changedfiles.zip
    18/Dec/12 12:42 PM
    22 kB
    Saakshi Manocha

Issue Links

depends on

Bug - A problem which impairs or prevents the functions of the product. NCBC-177 Consolidate test options from App.config

  • Major - Major loss of function.
  • Resolved - A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Gerrit Reviews
Hide
Permalink
Saakshi Manocha added a comment - 11/Dec/12 3:35 PM
http://review.couchbase.org/#/c/23202/
Show
Saakshi Manocha added a comment - 11/Dec/12 3:35 PM http://review.couchbase.org/#/c/23202/
Hide
Permalink
Mark Nunberg added a comment - 11/Dec/12 5:57 PM
I've sectioned out the previous bug into an NCBC issue. In general any changes to the SDKs themselves should be branched out into issues which touch those specific projects, with the SDKQE task tracking them.
Show
Mark Nunberg added a comment - 11/Dec/12 5:57 PM I've sectioned out the previous bug into an NCBC issue. In general any changes to the SDKs themselves should be branched out into issues which touch those specific projects, with the SDKQE task tracking them.
Hide
Permalink
Saakshi Manocha added a comment - 18/Dec/12 12:43 PM - edited
updated files attached for review :
couchbase.tests.changedfiles.zip
Show
Saakshi Manocha added a comment - 18/Dec/12 12:43 PM - edited updated files attached for review : couchbase.tests.changedfiles.zip
Hide
Permalink
Saakshi Manocha added a comment - 19/Dec/12 2:16 AM
please review:
http://review.couchbase.org/#/c/23430/
Show
Saakshi Manocha added a comment - 19/Dec/12 2:16 AM please review: http://review.couchbase.org/#/c/23430/
Hide
Permalink
Saakshi Manocha added a comment - 25/Dec/12 11:43 AM
Mark to review the changes updated in Gerrit
Show
Saakshi Manocha added a comment - 25/Dec/12 11:43 AM Mark to review the changes updated in Gerrit
Hide
Permalink
Saakshi Manocha added a comment - 14/Jan/13 12:42 AM
moved this task from SDKQE project to NCBC, as per mail from Matt so that we can use NCBC in comment while submitting code in gerrit.
updated comment in gerrit and submitted a new patch set.,
please review http://review.couchbase.org/#/c/23604/
Show
Saakshi Manocha added a comment - 14/Jan/13 12:42 AM moved this task from SDKQE project to NCBC, as per mail from Matt so that we can use NCBC in comment while submitting code in gerrit. updated comment in gerrit and submitted a new patch set., please review http://review.couchbase.org/#/c/23604/
Hide
Permalink
Matt Ingenthron added a comment - 14/Jan/13 1:01 AM
Saakshi: it's not so much that this task needed to be moved, but an underlying NCBC enhancement issue needed to be created-- even one with just a one line summary of what's to be done.

NCBC tracks this product/project, so we should always be able to see the changes in a version via this issue tracker and cross reference that with the code changes.

Thanks!
Show
Matt Ingenthron added a comment - 14/Jan/13 1:01 AM Saakshi: it's not so much that this task needed to be moved, but an underlying NCBC enhancement issue needed to be created-- even one with just a one line summary of what's to be done. NCBC tracks this product/project, so we should always be able to see the changes in a version via this issue tracker and cross reference that with the code changes. Thanks!

People

  • Assignee:
    Saakshi Manocha
    Reporter:
    Mark Nunberg
Vote (0)
Watch (1)

Dates

  • Created:
    10/Dec/12 3:35 PM
    Updated:
    14/Jan/13 1:01 AM
    Resolved:
    25/Dec/12 11:43 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.2.4#845-sha1:c9f4cc4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Couchbase. Try JIRA - bug tracking software for your team.