Add a foundation to help with writing API test suites.

Review Request #7489 — Created July 4, 2015 and submitted

chipx86
Djblets
release-0.9.x
2fca364...
djblets
This ports over some of Review Board's common API testing functionality
into Djblets, to help with writing fully-featured test suites. It
provides a mixin for test cases that provides functions for making API
calls and verifying the results, and for helping with docstring
generation.

Not all of Review Board's handy infrastructure made it over here, due to
how specific much of it is to Review Board, but with this change, it's
easy to begin writing new test suites.

Ported Review Board's test suite over to this, and all unit tests passed.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/webapi/testing/testcases.py
        djblets/webapi/testing/decorators.py
    
    Ignored Files:
        djblets/webapi/testing/__init__.py
        docs/djblets/coderef/index.rst
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/webapi/testing/testcases.py
        djblets/webapi/testing/decorators.py
    
    Ignored Files:
        djblets/webapi/testing/__init__.py
        docs/djblets/coderef/index.rst
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.9.x (c60d2b1)
Loading...