Issue analyzer

Base

class libpermian.issueanalyzer.base.BaseAnalyzer
abstract static analyze(analyzerProxy, caseRunConfiguration)
class libpermian.issueanalyzer.base.BaseIssue(settings)
property create_issues
property create_issues_instead_of_update
abstract make()
property new
abstract property report_url
abstract property resolved
settings_sections = ['issueAnalyzer']
submit()
sync(force=False)

Sync the status of the issue by looking it up in the issue database.

Parameters:

force (boolean) – Perform the sync even if the sync was already done for this issue. Note that this won’t overwrite the “new” status to prevent incorrect interpretation if the make method was called between the syncs.

Return type:

None

property tracked
abstract update()
property update_issues
property uri

Issue Set

class libpermian.issueanalyzer.issueset.IssueSet(issues=None, complete=True)
property all
extend(issues)
property forReview

Return issues that are subject for review. Issues that are either new or resolved (but it was detected) are subject for review and should result either in update of the issue and/or change of the test.

property isComplete
property needsReview

Return True if result/issue review is needed for any of the issue in this issueSet. A review is needed if the found issue is considered to be fixed (but it was detected) or if there’s some new (previously untracked) issue.

property new
property resolved
property tracked
property untracked

Proxy

class libpermian.issueanalyzer.proxy.IssueAnalyzerProxy(settings)

Issues are cached in issue_cache with key being unique issue identifier defined by implementation of BaseAnalyzer

analyze(caseRunConfigurations)
issue_analyzers = {}
property issue_cache
classmethod register(issue_analyzer)

Class decorator used for registering issue analyzers. Use this to assign name to the issue analyzer.

Parameters:

issue_analyzer