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 PHP client library
  • Couchbase PHP client library
  • PCBC-164

Streamline tests

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

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.1.0
  • Fix Version/s: 1.2.0
  • Component/s: library
  • Security Level: Public
  • Labels:
    None

Description

Tests right now are much slower than they should be, which also means that running them is turning into a much bigger hassle than it should be. Here are some things to do in order to make them quicker

1) Remove OO vs non-OO tests unless behavior is known to differ:

Right now all our OO functions and non-OO functions traverse exactly the same code paths (not as previously when there would be different code paths for each).

2) Move slow tests into their own categories: Simple mutation functions should not be intermixed with long things like key durability ops. These should be in separate files -- thus also allowing us to exclude them somehow (either via make test, or through runwrap/phpunit)

3) Tests which are expected to fail or are inconclusive should be marked as such.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Gerrit Reviews
No work has yet been logged on this issue.

People

  • Assignee:
    Trond Norbye
    Reporter:
    Mark Nunberg
Vote (0)
Watch (0)

Dates

  • Created:
    14/Dec/12 10:35 AM
    Updated:
    11/May/13 1:31 PM

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.