Majic Projects
Conntrackt
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png Conntrackt / Closed Enhancement CONNT-11 Improve tests by through mocking and direct use of views
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Enhancement
  • Category
    Not determined
  • Targetted for
    0.1
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
  • Time spent
    1 day
    Click here to see time logged against this issue
Issue details
  • Resolution
    RESOLVED
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
The current tests depend heavily on the use of django.test.client.Client class, and some other auxiliary classes from Django. This means that instead of having specific unit tests, the application instead has something more in the line of integration tests.

The test execution speed and reliability could be greatly improved by implementing the unit tests through mocking of real classes where necessary, and directly accessing the view methods and functions instead of submitting through Django test client.
Todos (0 / 0)
Issue created