Simplebugfree: simple interaction Tool

Source: Internet
Author: User

Background:

The following describes how to use bugfree as recommended by the bugfree designer: first, create a test case, run test case to generate a test result, and run a failed case, you can directly create bugs. The title, steps, and testresult running environment of test case are directly copied to the newly created bug. Therefore, the original intention of the bugfree simple interactive tool is to automate the entire process after the result is obtained by yourself, hope to help people in need

It seems that attachments cannot be uploaded. Leave a message as needed!


Function introduction:

# Function 1: register a case # Description: register a case and return caseidpython regcase. py-T test01-I 'assigned to' # function 2: synchronization bug # Description: # No corresponding bug. If case succeeds, ignore # No corresponding bug. If case fails, create a bug and return the bugid # corresponding bug. If case is successful and the bug is disabled, ignore # corresponding bug. If case is successful and the bug is opened, close this bug # There is a corresponding bug. If case fails and the bug is closed, open the bug # There is a corresponding bug. If case fails and the bug is opened, the bugtitlepython syncbug is updated in count mode. py-c 80756-A passpython syncbug. py-c 80756-A failpython syncbug. py-C 80756-G 125056-A failpython syncbug. py-C 80756-G 125056-a pass-B resolvedbuild

Parameter introduction:

Registration case:

$ python regcase.py -hUsage: regcase.py [options]Options:  --version             show program's version number and exit  -h, --help            show this help message and exit  -u USERNAME, --username=USERNAME                        set bugfree username  -p PASSWORD, --password=PASSWORD                        set bugfree password  -r projectID, --project-id=projectID                        set apsara projectID  -m moduleID, --module-id=moduleID                        set galaxy moduleID  -t caseTitle, --case-title=caseTitle                        set case title <required option>  -s caseSteps, --case-steps=caseSteps                        set case steps  -a caseStatus, --case-status=caseStatus                        set case status  -y caseType, --case-type=caseType                        set case type  -i assignedTo, --assigned-to=assignedTo                        set assignedto <required option>  -o casePriority, --case-priority=casePriority                        set case priority  -e caseMethod, --case-method=caseMethod                        set case method  -l replyNote, --reply-note=replyNote                        set reply note  -b scriptedBy, --scripted-by=scriptedBy                        set scripted by  -d scriptedDate, --scripted-date=scriptedDate                        set scripted date  -c scriptStatus, --script-status=scriptStatus                        set script status  -w scriptLocation, --script-location=scriptLocation                        set script location  -k caseKeyword, --case-keyword=caseKeyword                        set case keyword  -n casePlan, --case-plan=casePlan                        set case plan

Synchronization BUG:

$ python syncbug.py -hUsage: syncbug.py [options]Options:  --version             show program's version number and exit  -h, --help            show this help message and exit  -u USERNAME, --username=USERNAME                        set bugfree username  -p PASSWORD, --password=PASSWORD                        set bugfree password  -r projectID, --project-id=projectID                        set apsara projectID  -m moduleID, --module-id=moduleID                        set galaxy moduleID  -c caseID, --case-id=caseID                        set caseID <required option>  -a caseStatus, --case-status=caseStatus                        set caseStatus, default:'pass'  -e revision, --revision=revision                        set build revision, default:'N/A'  -g bugID, --bug-id=bugID                        set bugID  -s reproSteps, --repro-steps=reproSteps                        set reproSteps  -b resolvedBuild, --resolved-build=resolvedBuild                        set resolvedBuild

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.