Majic Projects
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
enhancement_small.png
Closed Enhancement CONNT-11 Improve tests by through mocking and direct use of views
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
icon_info.png 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
Commits (1)
 branko (branko)
Jul 22, 2013 - 19:26
CONNT-11CONNT-11 Converted tests to directly use the views, and implemented mocking of some classes where necessary (like the messages framework). Removed all integration tests for now.
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.
Comments ()
#11
icon_locked.png
 Guest user (guest)
icon_reply.pngAug 17, 2014, in reply to comment #10
Li Maoyu, an analyst at the Changjiang Securities Co, said the vast majority of consumers in China remain price-conscious. For daily necessities, price changes rattle the nerves. url=http://www.edupress.it/imgup/never.asp?tiffany outlet/url
History