99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代寫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++設計編程
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                欧美国产精品一区| 国产精品亚洲午夜一区二区三区| 亚洲一线二线三线久久久| 亚洲视频1区2区| 亚洲成av人片在www色猫咪| 国产精品网曝门| 精品国产髙清在线看国产毛片| 欧美成人激情免费网| 国产精品沙发午睡系列990531| 一区二区三区在线观看网站| 亚洲精品国产视频| 香蕉久久一区二区不卡无毒影院| 亚洲国产精品一区二区久久| 亚洲国产日韩精品| 成人午夜伦理影院| 日韩一区二区三区视频在线观看| 精品成人在线观看| 97精品久久久午夜一区二区三区 | 国产精品传媒入口麻豆| 国产高清精品在线| 尤物av一区二区| 欧美一区二区免费| 国产成a人无v码亚洲福利| 亚洲国产成人av好男人在线观看| 国产亲近乱来精品视频| 欧美调教femdomvk| 国产999精品久久久久久绿帽| 一区av在线播放| 久久噜噜亚洲综合| 欧美午夜精品免费| bt7086福利一区国产| 久久99深爱久久99精品| 丝袜亚洲精品中文字幕一区| 久久久精品国产99久久精品芒果| 亚洲高清在线精品| 欧美精彩视频一区二区三区| 日韩欧美在线观看一区二区三区| 91国产精品成人| 91免费视频观看| 99久久精品国产麻豆演员表| 国产成a人无v码亚洲福利| 看电影不卡的网站| 日韩精彩视频在线观看| 亚洲第一成年网| 一区二区三区.www| 亚洲精品乱码久久久久久黑人| 国产精品大尺度| 国产精品不卡在线| 日本一二三不卡| 国产人成亚洲第一网站在线播放 | 精品欧美黑人一区二区三区| 欧美精品v日韩精品v韩国精品v| 91国在线观看| 欧美人成免费网站| 日韩免费观看高清完整版| 欧美精品一区男女天堂| 久久精品日韩一区二区三区| 久久精品免费在线观看| 欧美高清在线精品一区| 亚洲日本乱码在线观看| 亚洲在线观看免费| 日韩黄色免费电影| 国产精品一二一区| 91片黄在线观看| 欧美丰满嫩嫩电影| 久久亚区不卡日本| 一区二区三区四区在线免费观看| 午夜影视日本亚洲欧洲精品| 精品中文字幕一区二区小辣椒| 丁香婷婷综合网| 色婷婷久久久亚洲一区二区三区| 欧美三区在线观看| 久久久久久一二三区| 1区2区3区欧美| 麻豆一区二区三| 色综合咪咪久久| 欧美一区二区视频网站| 国产日产欧美一区| 午夜激情综合网| 国产精品性做久久久久久| 色综合天天综合色综合av | 91网址在线看| 欧美电影免费观看高清完整版在线 | 欧美一区二区女人| 国产精品三级av| 丝袜诱惑制服诱惑色一区在线观看 | 狠狠色丁香久久婷婷综合_中| 91色|porny| 久久综合999| 日韩精品视频网站| 97se狠狠狠综合亚洲狠狠| xfplay精品久久| 免费久久99精品国产| 在线观看亚洲精品| 国产精品美女久久久久久| 日韩精品午夜视频| 91无套直看片红桃| 国产调教视频一区| 狠狠色伊人亚洲综合成人| 欧美三级欧美一级| 亚洲欧洲色图综合| 成人av网址在线| 久久婷婷国产综合精品青草| 亚洲午夜av在线| 亚洲激情自拍偷拍| 国产欧美精品在线观看| 中文字幕一区二区三区在线不卡| 亚洲高清免费在线| 丁香天五香天堂综合| 欧美一级生活片| 亚洲午夜国产一区99re久久| av资源网一区| 久久女同精品一区二区| 裸体在线国模精品偷拍| 99精品欧美一区二区三区综合在线| 色综合天天做天天爱| 中文字幕成人网| 成人黄页毛片网站| 中文无字幕一区二区三区| 国内精品自线一区二区三区视频| 日韩一区二区三区在线视频| 午夜精品久久久久久久久久| 欧美少妇性性性| 亚洲成在人线在线播放| 欧美日韩中文国产| 亚洲成人精品在线观看| 欧美精三区欧美精三区| 日本sm残虐另类| 精品久久国产字幕高潮| 精品亚洲porn| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 日本不卡视频在线观看| 日韩欧美亚洲一区二区| 韩国成人福利片在线播放| 欧美激情一二三区| 国产婷婷精品av在线| 天天色天天操综合| 日本韩国视频一区二区| 一区二区三区在线视频播放| 色综合色综合色综合色综合色综合| 中文字幕亚洲区| 欧美性受极品xxxx喷水| 亚洲精品国产无天堂网2021| 色婷婷久久99综合精品jk白丝| 一二三区精品视频| 欧美一区二区免费| 婷婷开心久久网| 精品人伦一区二区色婷婷| av在线一区二区三区| 亚洲一区在线视频| 精品国精品国产| 91福利社在线观看| 亚洲成人免费在线| 欧美一级电影网站| 激情av综合网| 久久精品一区蜜桃臀影院| 日韩午夜中文字幕| 欧美日韩一区二区三区在线看| 亚洲一区日韩精品中文字幕| 欧美视频在线观看一区| 久久99久久99精品免视看婷婷| 中文字幕在线一区免费| 91精品国产品国语在线不卡| 成人福利视频网站| 天天色综合成人网| 国产精品乱人伦中文| 日韩视频123| 99久久99久久综合| 国产综合久久久久久鬼色 | 国产精品久久久久三级| 欧美在线视频日韩| 久久av中文字幕片| 亚洲高清不卡在线观看| 久久午夜免费电影| 91精品午夜视频| 国产精品自拍网站| 亚洲婷婷综合色高清在线| 欧美理论电影在线| 国产乱人伦偷精品视频不卡| 亚洲精品乱码久久久久久黑人 | 国产精品色哟哟| 欧美一区二区三区系列电影| 不卡视频一二三四| 免费精品99久久国产综合精品| 国产精品丝袜一区| 91精品国产91久久综合桃花| 97国产一区二区| 国产成人高清在线| 蜜桃精品视频在线| 亚洲伊人伊色伊影伊综合网| 久久综合色鬼综合色| 欧美精品久久久久久久久老牛影院| 成人午夜激情影院| 免费观看久久久4p| 亚洲国产三级在线| 亚洲人妖av一区二区| 久久久亚洲午夜电影| 欧美日韩不卡一区二区| 国产一区二区三区精品视频| 亚洲123区在线观看|