Displays fields directly from objects into get. Added two fields in testcase add & edit viewĭisplaying duration fields in testcase.get kiwitcms#1923 Added three fields in testcase view (get.html) The affected models are Testcase and Historicaltestcaseįixes lint failures and adds fields to templates kiwitcms#1923 Reflected fields are setup_duration and testing_duration Added migration file 0018_add_testcase_duration_fiels.py For more information see the link(s) in bounty-program milestoneĪdded new migration to reflect the 2 new duration fields This issue is part of Kiwi TCMS open source bounty program. test class/test method names are descriptive and reflect the behavior of the subject under test.This means both positive/negative scenarios where this makes sense or scenarios which traverse different branches of the code where that makes sense. Test coverage for all of the related changes.Could be different if there is something nicer. Note: when DurationField type is used in forms it doesn't have a nice widget so something like All 3 fields are available as filters in the /cases/search/ page - special care should be taken for handling filtering by expected_duration, see.API method TestCase.filter returns the value of all 3 fields - tests are updated to match.API methods TestCase.create & TestCase.update allow storing values for these fields - tests are updated to match.setup_duration & testing_duration are added in testcases/mutable.html and can be editted.get.html shows the 3 fields in a human readable format - will probably need a custom template filter to print in a format like "6 minutes" - NOTE: will help but copying verbatim has many implications and we can leave this until the end.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |