日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫FIT2107、代做Python設計編程
代寫FIT2107、代做Python設計編程

時間:2024-10-16  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



FIT2107 - Software Quality and Testing
ASSIGNMENT 2 [40%]
White box testing and code analysis
Overview
For this assignment, your task is to design and document appropriate tests for a
software system using white box techniques, build a CI/CD pipeline to run your tests,
and report on the code quality and test coverage. In doing this you must only use
concepts that have been covered in FIT2107.
This assignment is an individual, open book task. Every student must complete and
submit their own work. The use of AI in any way is not permitted.
Submissions will be marked out of 40, and will form 40% of your final grade in FIT2107. A
late penalty of 5% per day will be applied, and after 7 days a mark of 0 will be given and
no feedback will be provided on the submission.
This assignment covers FIT2107 learning outcomes 1, 2, and 3.
Deliverables
You must submit the following evidence using the Assignment 2 submission page on
Moodle:
● Your tests
Compress your “tests” folder from “bat” to a zip named “tests.zip”.
● Task 6 and Task 9 documents
Convert both documents to PDF for submission, and do not rename them (i.e., you
should submit files named “task_6.pdf” and “task_9.pdf”).
● Task 3 control flow graph
Submit as “task_3.png”
Your grade will also be based on the commit history in your unit repository on gitlab.
SUBMISSION DUE: Friday Week 12, 11:55PM
1FIT2107 - Software Quality and Testing
Tasks
For this assignment you are continuing to test the Borrowing Administration Terminal
(BAT) used by Anything Anytime Library (AAL). However, now you will have access to
some of the BAT code. This will enable you to run additional tests on the system using
white box techniques.
The code you have been provided with is a redacted version of BAT. Each part of the
code has been commented to describe its purpose and intended logic. In addition to
the in-code documentation, you should note:
● It is assumed that a patron will never attempt to take out a loan for an item they
are already borrowing (e.g., borrow two copies of the same book).
● It is assumed that there are no patrons with the same name and age.
● It is assumed that there are no logic errors in the JSON data provided to BAT (e.g.,
duplicate IDs, loans which aren't reflected in the catalogue). If there are any
syntax errors in the data then BAT will not open.
● Changes to data are not saved until the "Quit" menu option is selected.
● All functionality to do with late fees has been removed, except the calculation of
discounts for the purpose of determining if a patron is allowed to borrow an item
or is not allowed due to fees owed.
● Ability to update training records has been removed.
● All analytics code (e.g., for generating overdue loans reports) has been removed.
● All user and catalogue data is fabricated.
2FIT2107 - Software Quality and Testing
Task 1: File Setup (Marked as part of development history modifier)
You should have the knowledge to complete this task after Week 1.
Download the assignment template (template.zip) from Moodle. Unzip the folder, and
copy all of the files into the “Assignment 2” folder in your unit repository. Add, commit,
and push the files.
Task 2: MC/DC (4 marks)
You should have the knowledge to complete this task after Week 7.
In the file “test_task_2.py” in the “tests” folder in “bat”, write tests for the method
“can_borrow_carpentry_tool” from the “business_logic.py” source file. Write the
minimum number of tests needed to reach 100% MC/DC for the condition on line 126. Do
not write any extra tests.
Document your tests in comments as shown in the week 7 answer guide for MC/DC.
Your documentation must:
● List the possible tests and their outcomes, numbering each test.
● List the optimal test sets.
● Clearly identify which optimal set you have chosen to implement.
● Clearly identify which test number is being tested by each test method.
Task 3: Path Coverage (5 marks)
You should have the knowledge to complete this task after Week 7.
Part A:
Draw a control flow graph for the method “can_use_makerspace” from the
“business_logic.py” source file. In your graph, show “else” explicitly as a node. Save your
graph in the “Assignment 2” folder in your repository as “task_3.png”.
Part B:
In the file “test_task_3.py” in the “tests” folder in “bat”, write tests for the method
“can_use_makerspace” (from the “business_logic.py” source file). Write the minimum
number of tests needed to reach 100% path coverage. Do not write any extra tests.
Document your tests in comments as shown in the week 7 answer guide for path
coverage. Your documentation must:
3FIT2107 - Software Quality and Testing
● List the feasible paths, number each.
● Clearly identify which path is being tested by each test method.
Task 4: Mocking (5 marks)
You should have the knowledge to complete this task after Week 8.
In the file “test_task_4.py” in the “tests” folder in “bat”, write tests for the method
“_main_menu” from the “bat_ui” source file. Use the method “get_current_screen” to
verify that the UI has moved to the correct screen. Do not write any extra tests.
Make sure you test that:
● All valid inputs cause the UI to move to the correct screen.
● The user is repeatedly asked for input until a valid input is given.
Task 5: Coverage (10 marks)
You should have the knowledge to complete this task after Week 8.
In the “tests” folder in “bat”, write tests for any of the code in BAT you like until you reach:
● At least **% statement coverage.
● At least 80% branch coverage.
All tests written for this assignment (i.e., not just for Task 5) count towards coverage.
Add as many test files to the “tests” folder as you need, but do not add tests to the
“test_task_X.py” files, and do not rename any of the “test_task_X.py” files. Part of your
grade for this task will be based on your ability to write appropriate tests, and organise
them into appropriately named test files. Make sure you follow all guidelines given in
this unit.
Note: to get just branch coverage, run the terminal command “coverage json” after a
“coverage run” command. This will generate a file (“coverage.json”). In that file, under
"totals" there'll be "covered_branches" and "missing_branches".
Task 6: Find the Bugs (9 marks)
You should have the knowledge to complete this task after Week 8.
Part A:
Using any technique or combination of techniques you like, find 3 bugs in BAT.
Part B:
In “task_6.docx” in the assignment template, write a bug report for each of the three
bugs you found.
Task 7: CI (2 marks)
You should have the knowledge to complete this task after Week 9.
4FIT2107 - Software Quality and Testing
Configure gitlab to automatically run all of the tests you have written for BAT. Ensure
that only the BAT tests run, and the output is verbose. Gitlab should show that all your
tests were run, and all your tests pass.
Task 8: Static Analysis (2 marks)
You should have the knowledge to complete this task after Week 9.
Update your gitlab configuration to also automatically run the “pylint” and
“pycodestyle” static analysis tools on the BAT source code and tests. Gitlab should
show that all your tests were run and pass, but the code does not have to pass linting.
Task 9: Software Metrics (3 marks)
You should have the knowledge to complete this task after Week 10.
As mentioned, you have been given a redacted version of the BAT code. The real
version of BAT has 9842 lines of code.
In “task_9.docx” in the assignment template, explain (including your working) how
many defects you would expect the real version of BAT to contain. Your answer should
not be longer than one page.
Assessment Criteria
This assignment will be marked out of 40, and will form 40% of your final grade in
FIT2107. A late penalty of 5% per day will be applied, and after 7 days a mark of 0 will be
given and no feedback will be provided on the submission.
● Development history
After your submission is marked, a modifier will be applied to your score based on
your development history. The lowest possible modifier is 0.5, and the highest
possible modifier is 1.0 (i.e., no grade reduction). Your final grade will be your
original grade multiplied by this modifier. To get a modifier of 1.0 you need to:
○ Have all the files from the assignment template in the “Assignment 2”
folder in your unit repository, and not in a sub-folder.
○ Make at least 11 commits total.
○ Make at least 2 commits of each file in the template.
○ Use meaningful and concise commit messages.
● Appropriate use of unit concepts
The marker will verify that you have used only concepts covered in FIT2107.
● Correctness
The marker will verify the correctness of your answers.
● Clarity
The marker will verify whether your answers use clear, specific, and appropriate
examples. This is particularly important when you are writing justifications.
5FIT2107 - Software Quality and Testing
● Consistency
The marker will verify whether related answers are consistent with each other.
● Good coding practice
The marker will verify whether you have followed good coding practice for writing
tests in python, as demonstrated in this unit.
6

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

掃一掃在手機打開當前頁
  • 上一篇: 代寫ICT50220、C++/Java程序語言代做
  • 下一篇:CSCI1540代寫、代做C++設計編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        伊人久久亚洲热| 在线观看成人一级片| 一区在线视频观看| 亚洲国产欧美一区二区三区同亚洲| 欧美日韩在线免费| 久久超碰97中文字幕| 久久综合导航| 亚洲精品久久久久中文字幕欢迎你| 欧美国产精品劲爆| 欧美性猛交99久久久久99按摩| 一区二区三区高清在线| 黄页网站一区| 亚洲免费视频网站| 国产精品美女久久久久久久| 国产日韩一区二区三区在线播放| 亚洲午夜一区| 国产精品任我爽爆在线播放| 久久九九免费视频| 久久视频免费观看| 美女精品自拍一二三四| 欧美国产激情| 亚洲国产成人久久综合| 在线播放国产一区中文字幕剧情欧美| 国产精品久久久久免费a∨| 一区国产精品| 欧美三级视频在线观看| 在线观看视频一区二区欧美日韩| 麻豆精品国产91久久久久久| 久久精品女人| 亚洲欧美日韩国产综合在线| 国产日韩欧美高清| 亚洲精品国产精品国自产在线| 亚洲欧美激情视频在线观看一区二区三区| 国产精品国产自产拍高清av王其| 欧美在线看片| 国产精品一区2区| 狠狠色综合日日| 麻豆精品在线观看| 亚洲男女毛片无遮挡| 9色国产精品| 中文精品视频一区二区在线观看| 欧美日韩一卡| 欧美日韩国产一区| 欧美极品在线播放| 欧美xart系列在线观看| 尤物网精品视频| 欧美电影免费观看| 国产午夜一区二区三区| 另类综合日韩欧美亚洲| 亚洲欧美激情在线视频| 国产精品二区在线| 欧美午夜电影在线| 久久久久久久欧美精品| 久久综合九九| 欧美日韩一区二| 欧美精品久久久久久久| 黑人操亚洲美女惩罚| 国产一区深夜福利| 欧美激情1区2区| 欧美日韩1区2区3区| 国产精品亚洲第一区在线暖暖韩国| 亚洲一区二区欧美日韩| 国产一区日韩一区| 亚洲高清不卡在线观看| 国产精品中文字幕在线观看| 一区二区三区日韩精品视频| 亚洲伦理在线免费看| 一区二区成人精品| 一本大道久久a久久综合婷婷| 久久久综合香蕉尹人综合网| 久久精品一二三| 亚洲欧洲一级| 国产精品久久久久久久免费软件| 欧美 亚欧 日韩视频在线| 亚洲欧美激情视频在线观看一区二区三区| 欧美日韩一区二区三区在线| 免费日韩成人| 欧美mv日韩mv国产网站| 一本大道久久a久久精品综合| 亚洲电影在线观看| 欧美日韩免费看| 亚洲综合成人婷婷小说| 久久中文字幕一区二区三区| 久久亚洲免费| 又紧又大又爽精品一区二区| 亚洲一区二区三区四区五区午夜| 亚洲三级电影在线观看| 亚洲欧美中文日韩v在线观看| 最新国产乱人伦偷精品免费网站| aa亚洲婷婷| 亚洲精品久久久久久久久久久久| 99精品国产在热久久婷婷| 免费成人高清视频| 一区在线视频观看| 欧美欧美在线| 一区二区三区成人| 久久色在线播放| 亚洲电影天堂av| 国产精品国内视频| 亚洲精品系列| 免费成人高清视频| 亚洲一区二区免费视频| 亚洲午夜女主播在线直播| 亚洲国产另类 国产精品国产免费| 尤物在线精品| 欧美一区深夜视频| 久久亚洲国产精品一区二区| 国产欧美日韩亚州综合| 激情伊人五月天久久综合| 午夜精品久久久久99热蜜桃导演| 久久久久久婷| 欧美激情精品久久久久久免费印度| 国产视频在线一区二区| 久久精品国产77777蜜臀| 亚洲国产精品一区二区第四页av| 国产精品久久波多野结衣| 久久动漫亚洲| 欧美日韩mv| 久久这里有精品15一区二区三区| 亚洲图片在线| 欧美一级片一区| 亚洲精品自在久久| 亚洲风情亚aⅴ在线发布| 午夜久久tv| 一本一本久久a久久精品综合麻豆| 欧美国产第一页| 久久女同互慰一区二区三区| 国产一在线精品一区在线观看| 噜噜噜噜噜久久久久久91| 亚洲精品欧美极品| 国产精品www.| 99精品热6080yy久久| 在线视频日本亚洲性| 久久激情五月婷婷| 亚洲国产精品久久久久婷婷884| 国产欧美精品xxxx另类| 欧美一区1区三区3区公司| 在线成人av.com| 日韩一级网站| 日韩一二三在线视频播| 欧美婷婷在线| 99精品国产在热久久下载| 黄色欧美日韩| 国产精品区二区三区日本| 国产精品99一区| 亚洲精品中文字幕在线观看| 99一区二区| 伊人一区二区三区久久精品| 国产在线视频不卡二| 国内外成人免费激情在线视频| 精品电影一区| 国产亚洲欧美日韩美女| 久久国产精品99久久久久久老狼| 在线亚洲+欧美+日本专区| 亚洲一区在线观看免费观看电影高清| 欧美日韩精品欧美日韩精品| 香蕉精品999视频一区二区| 国产精品99久久久久久白浆小说| 久久久久青草大香线综合精品| 欧美午夜视频在线| 国产欧美日韩不卡免费| 亚洲精品国久久99热| 亚洲欧美日韩一区在线| 欧美777四色影视在线|