Kiwi TCMS 5.0 发布,全功能测试用例管理系统
2018-07-25 来源:oschina
Kiwi TCMS 5.0 发布了,Kiwi TCMS 是一个集测试计划、测试运行和测试用例于一身的管理系统,用 Python 和 Django 编写。它具有许多强大的功能,如 Bugzilla 和 JIRA 集成,快速测试计划和运行搜索,针对每个计划、运行和案例以及 XML-RPC API 的强大访问控制。
此次更新引入了新的数据库迁移、对象历史记录跟踪、旧功能和未使用代码的删除,以及大量内部更新和 bug 修复:
Settings
Remove
CACHE
because not usedRemove
PLAN_EMAIL_TEMPLATE
,CASE_EMAIL_TEMPLATE
andCASE_DELETE_EMAIL_TEMPLATE
. Templates can still be overriden if desired
Enhancements
Upgrade to Django 2.0.7
Allow to delete TestPlan. Fixes Issue #273
Don't include username in dashboard URL
Copy latest TestPlan text when cloning
Always require users to be logged in. Anonymous users will not be allowed access by default. Read-only access to some views (e.g. get TestPlan or TestRun) can be enabled by disabling
GlobalLoginRequiredMiddleware
! Fixes Issue #230Start tracking change history for TestPlan, TestCase, TestRun and TestCaseRun. Fixes Issue #294
History changes are recorded as unified diff which is a universally recognized format
Show the actual changes in email notifications. Fixes Issue #199
Bug fixes
Fix
UnboundLocalError local variable 'message' referenced before assignment
. Fixes Sentry KIWI-TCMS-1SMake email address unique when adding users via admin panel. Fixes Issue #352 and Issue #68
Fix
unsupported operand type(s) for +=: 'int' and 'datetime.timedelta'
by initializing timedelta variable properly. Fixes Sentry KIWI-TCMS-1YRemove
core.models.fields
with MySQL time conversions. Fixes Issue #390Fix bad JavaScript comparison. Fixes Coverity #289956
Remove expression with no effect. Fixes Coverity #289974
Rewrite
request_host_link()
to fix Coverity #289987Fix Coverity #289923 - Typo in identifier
Don't send emails for changes performed by myself. Fixes Issue #216
Refactoring
Fix pylint issues in several modules (Anton Sankov & Ivaylo Ivanov)
Fix wrong Plan Type template variable in advanced search form
Do not use
Model.objects.update()
because it doesn't respect historyUse the standard
ModelChoiceField
instead of custom oneUse
updateRunStatus()
instead of deprecatedupdateObject()
Simplify JavaScript function
getInfo()
and use it multiple timesSimplify
previewPlan()
by removing unused parametersUnify
addChildPlan()
andremoveChildPlan()
Unify
getInfoAndUpdateObject()
withchangeCaseRunAssignee()
Unify
onTestCaseStatusChange()
withchangeTestCaseStatus()
Convert
TestCaseEmailSettings.cc_list
to string fieldMerge
report/caseruns_table.html
withreports/caseruns.html
Rename model
UserActivateKey
toUserActivationKey
. Fixes Issue #276Remove
cached_entities()
. Fixes Issue #307Remove
TestPlanText.checksum
fieldRemove checksum fields for
TestCaseText
modelRemove unused and home-grown template tags
Remove unused fields
auto_blinddown
,description
,sortkey
fromTestCaseRunStatus
model. Fixes Issue #186Remove
Meta.db_name
effectively renaming all tables. New names will use Django's default naming schemeRemove RawSQL queries. We are now 100% ORM based. Fixes Issue #36
Remove duplicate
MultipleEmailField
definitionRemove
TCMSLog
view,TCMSLogManager
,TCMSLogModel
Remove
TestPlanText
model, useTestPlan.text
insteadRemove unused JavaScript files -
lib/detetmine_type.js
-lib/hole.js
-lib/scriptaculous-controls.js.patch
-lib/validations.js
-static/js/index.js
Remove
constructPlanParentPreviewDialog()
Remove
changeCasePriority()
Remove
changeCaseRunOrder()
Remove
debug_output()
from JavaScript filesRemove deprecated
/ajax/update/
end-pointRemove
taggleSortCaseRun()
Remove
strip_parameters()
Remove
_InfoObjects.users()
Remove
get_value_by_type()
Remove
testcases.views.get_log()
Remove
mail_scene()
methods and related templates
Removed functionality
TestRun completion status is no longer updated automatically. You can still update the status manually via the 'Set Finished' or 'Set Running' links! Fixes Issue #367
Remove bookmarks functionality. There are many great bookmark manager apps and if the user is keen on bookmarks they should use one of them. Closes Issue #67 and Issue #210
Don't track & display history of changes for
EnvGroup
modelRemove Disable/Enable buttons from TestPlan page. Enabling and disabling can still be done via the edit page
Remove
changeParentPlan()
and the ability to change TestPlan parents from the 'Tree View' tab. This can be done via the edit pageWhen viewing a TestPlan the user is no longer able to specify a sorkey for a particular TestCase. Instead they can use the
Re-order cases
button and move around the entire row of cases to adjust the sort orderWhen working with test case results, inside a TestRun you will not be allowed to change the order of execution. Order should be defined inside the TestPlan instead
Remove
XmlRpcLog()
model. Kiwi TCMS will no longer log RPC calls to the database. This leads to a small performance boost and can be overriden on individual basis if you need to do so.
Translations
More source strings marked as translatable
New translations for Chinese Simplified, Chinese Traditional, German and Slovenian
Stop keeping compiled translations under git. Fixes Issue #387
tcms-api 5.0
Requires Python 3.6 or newer because it fixes bugs related to Django's disabling of keep-alive connections. See https://bugs.python.org/issue26402
The rpc client is now accessed via
TCMS().exec.<Server-Method>
Leave only XML-RPC transport classes! This removes the top-level interface behind the API client and the consuming side is left to work with Python dictionaries instead of objects.
Remove the interactive
tcms
scriptRemove
tcms_api.config
moduleRemove logging class
Remove
script_examples/
directory. These were never tested and maintained
详情见更新日志。
下载地址:
Source code (zip)
Source code (tar.gz)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点!
本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。