国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

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

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    国内自拍欧美激情| 精品免费一区二区三区蜜桃| 无码免费一区二区三区免费播放| 欧美第一黄网| 日韩一区二区福利| 天天爽天天狠久久久| 国产伦精品一区二区三区精品视频| 国产成人女人毛片视频在线| 亚洲不卡中文字幕无码| 国产精品自拍偷拍视频| 久久亚洲精品成人| 欧美 国产 精品| 日韩亚洲综合在线| 日韩人妻一区二区三区蜜桃视频| 91精品国产综合久久香蕉922| 精品国产免费一区二区三区| 韩日精品中文字幕| 国产精品视频在线免费观看| 人人妻人人澡人人爽精品欧美一区 | 色妞久久福利网| 日韩在线一级片| 99国精产品一二二线| 欧美精品福利视频| 成人在线小视频| 久久国产精品久久国产精品| 国产日韩欧美综合精品| 精品久久一二三| 国产日韩欧美精品在线观看| 麻豆国产精品va在线观看不卡| 国产自偷自偷免费一区| 不卡av在线网站| 狠狠色综合网站久久久久久久| 国产精品视频区| 黄色成人在线免费观看| 国产精品青青在线观看爽香蕉| 欧美日韩免费观看一区| 日韩中文字幕在线播放| 欧美日韩国产综合在线| 欧美中文在线观看国产| 国产精品女主播视频| 国模吧无码一区二区三区| 久热精品视频在线观看一区| 国产女人18毛片| 亚洲最大福利视频网| 91免费版看片| 欧美一级黄色网| 日韩一区二区福利| 国产一区二区三区小说| 中文字幕乱码一区二区三区| 99在线观看视频免费| 欧美一区二区三区艳史| 国产a级黄色大片| 国模视频一区二区| 亚洲人成无码www久久久| 日韩精品一区二区三区四区五区 | 高清无码视频直接看| 色噜噜狠狠色综合网| 久久天天躁狠狠躁夜夜av| 国产在线精品播放| 亚洲国产精品一区二区第四页av| 久艹视频在线免费观看| 免费观看国产成人| 亚洲综合中文字幕在线| 国产成人福利视频| 精品一区二区三区自拍图片区| 国产精品裸体瑜伽视频| 不卡影院一区二区| 日韩国产欧美精品| 国产精品国产三级国产aⅴ9色| 成人黄色一区二区| 日本欧美一二三区| 久久综合亚洲社区| 国产黄色一级网站| 国产综合免费视频| 日本乱人伦a精品| 九九精品在线视频| 久久波多野结衣| 国产无限制自拍| 日本高清+成人网在线观看| 精品国产一区二区三区日日嗨| 国产精品99久久99久久久二8 | 欧美这里只有精品| 亚洲视频欧美在线| 国产精品国产三级国产aⅴ浪潮| 91免费版看片| 国产又粗又长又爽视频| 日韩无套无码精品| 亚洲中文字幕无码中文字| 国产精品无码免费专区午夜| 北条麻妃av高潮尖叫在线观看| 欧美中文字幕在线视频| 亚洲欧美日韩综合一区| 国产精品成人aaaaa网站| 久久久久久久久中文字幕| 成人毛片网站| 黄色小网站91| 日韩小视频在线播放| 亚洲国产日韩综合一区 | 日本www高清视频| 亚洲在线第一页| 精品久久久久久亚洲| 国产精品美女xx| 久久精品电影一区二区| 99热在线播放| 国产淫片av片久久久久久| 欧美一区二区影视| 日韩中文字幕三区| 亚洲欧美日韩精品久久久| 国产精品九九久久久久久久| 久久99精品国产一区二区三区| 97精品国产97久久久久久免费| 国产又黄又爽免费视频| 好吊色欧美一区二区三区| 欧洲精品久久久| 日本不卡一区二区三区四区| 日本中文字幕亚洲| 日本亚洲精品在线观看| 三级三级久久三级久久18| 亚洲精品偷拍视频| 伊人久久青草| 亚洲三区四区| 亚洲va欧美va在线观看| 亚洲欧美日韩精品综合在线观看 | 国产精品视频免费观看www| 久久久精品国产一区二区| 日韩少妇与小伙激情| 国产成人无码av在线播放dvd | 久久久伊人日本| 91精品国产免费久久久久久| av在线播放亚洲| 91精品久久香蕉国产线看观看| 99精彩视频| 国产精品999999| 久久久久久av无码免费网站下载| 91精品国产沙发| 久久亚洲国产精品日日av夜夜| 国产精彩免费视频| 国产成人精品久久| 久久99久久99精品| 精品国产区一区二区三区在线观看| 北条麻妃一区二区三区中文字幕| 久久精品第九区免费观看| 日韩中文字在线| 国产精品第157页| 中文字幕在线亚洲精品| 无码人妻精品一区二区三区66 | 久久精品国产视频| 久久精品亚洲一区| 久久999免费视频| 亚洲人成无码www久久久 | 国产区日韩欧美| 超碰免费在线公开| 国产精品12| 啊v视频在线一区二区三区| 国产精品激情av电影在线观看| 欧美精品久久久久久久免费观看| 亚洲精品高清视频| 日韩精品―中文字幕| 免费国产一区| 91久久久久久久一区二区| 国产l精品国产亚洲区久久| 国产精品嫩草影院久久久| 欧美激情国产高清| 日本一区美女| 黑人中文字幕一区二区三区| 成人免费观看毛片| 日韩专区在线观看| 欧美激情精品久久久久久黑人| 亚洲二区自拍| 黄色污污在线观看| 成人免费在线网址| 久久久久久久免费| 久久国产色av| 日韩欧美亚洲区| 国产日产欧美精品| 久久99精品久久久久久久青青日本| 欧美成aaa人片免费看| 午夜精品免费视频| 海角国产乱辈乱精品视频| 成人中文字幕在线播放| 日日摸夜夜添一区| 一本色道久久综合亚洲二区三区| 亚洲欧洲精品一区二区三区波多野1战4 | 欧美一区二区福利| 国产区亚洲区欧美区| 久久精品久久精品国产大片| 久久69精品久久久久久久电影好 | 国产精品亚洲天堂| 久久精品国产亚洲7777| 欧美激情视频网| 欧美在线视频一区二区| av中文字幕av| 国产精品丝袜视频| 午夜精品久久久久久久无码 | 国产成人三级视频| 亚洲精品中字| 国产一区免费| 按摩亚洲人久久| 涩涩日韩在线| 国产精品主播视频|