0% found this document useful (0 votes)
23 views15 pages

ASM2 - APPLIED PROGAMMING-DONG DUC THANH-Group 5

DFSBSDBSGNGSN

Uploaded by

nguyenthiduc.vta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views15 pages

ASM2 - APPLIED PROGAMMING-DONG DUC THANH-Group 5

DFSBSDBSGNGSN

Uploaded by

nguyenthiduc.vta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

ASSIGNMENT 2 FRONT SHEET

Qualification Pearson BTEC Level 5 Higher National Diploma in Computing

Unit number and title Unit 20: Applied Programming and Design Principles

Submission date 07/08/2024 Date Received 1st submission

Re-submission Date Date Received 2nd submission

Student names & codes Final scores Signatures

1. Dong Duc Thanh Thanh

Group number: 2. Nguyen Van Hung Hung

3.

4.

Class SE06203 Assessor name Nguyen Van Quang

Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is
a form of malpractice.
Grading grid

P5 M3 P6 P7 M4 D2
OBSERVATION RECORD
Student 1

Description of activity undertaken

Assessment & grading criteria

How the activity meets the requirements of the criteria

Student
Date:
signature:

Assessor
Date:
signature:
Assessor
name:

Student 2

Description of activity undertaken

Assessment & grading criteria

How the activity meets the requirements of the criteria

Student
Date:
signature:

Assessor
Date:
signature:
Assessor
name:

Student 3

Description of activity undertaken

Assessment & grading criteria

How the activity meets the requirements of the criteria

Student
Date:
signature:

Assessor
Date:
signature:
Assessor
name:

Student 4

Description of activity undertaken

Assessment & grading criteria

How the activity meets the requirements of the criteria

Student
Date:
signature:

Assessor
Date:
signature:
Assessor
name:

r Summative Feedback: r Resubmission Feedback:

Grade: Assessor Signature: Date:


Internal Verifier’s Comments:

Signature & Date:


Table of Contents
I. INTODUCTION ................................................................................................................................................................................................. 9
II. MAIN BODY..................................................................................................................................................................................................... 10
1. Examine and discussion different test methods of implementing automatic testing can be done for the SIMS application. Example,
unit testing, integration testing. (P5) .................................................................................................................................................................. 10
1.1. Definition Unit Test and Integration Test. .......................................................................................................................................... 10
1.2. Compare these 2 testing methods after applying to SIMS................................................................................................................. 13
2. Build a data processing application with automating testing based on a developed design in the first assignment. (P6) .................. 13
3. Provide screenshots for the implemented applications and show how many tests have passed. (P7) .................................................. 13
4. Assess effectiveness of using SOLID principles, clean coding techniques on the application developed. (M3) ................................... 13
5. Analyze the benefits and drawbacks of different forms of automatic testing. (M4) .............................................................................. 13
III. CONLUSION ................................................................................................................................................................................................ 14
IV. REFERENCES .............................................................................................................................................................................................. 15
List of Figure

List of Tables
I. INTODUCTION
Our group was assigned a task to design a student management software. In this software, we provide its features and uses such as: students can
log in to view information, teachers can also log in and do tasks such as calculating scores and classifying students' academic performance,.....

II. MAIN BODY


1. Examine and discussion different test methods of implementing automatic testing can be done for the SIMS application. Example,
unit testing, integration testing. (P5)
1.1. Definition Unit Test and Integration Test.
1.1.1. Definition Unit Test
Definition
- Unit testing is a type of software testing in which individual units or components of the software are tested. The purpose of this is to verify
the correctness of each unit of code.[1]
- Developers perform Unit Testing during the development (coding phase) of an application. Unit Tests isolate a portion of code and verify
its correctness. A unit can be a function point, feature, method, procedure, module, or individual object. In SDLC, STLC, V Model, Unit
testing is the first testing step before integration testing. Unit testing is a Whitebox testing technique that is usually performed by
programmers.[1]

Figure 1. Unit Test


Example of Unit testing
- Let us see one sample example for a better understanding of the concept of unit testing:
Advantages and disadvantages
 Advantages

- Unit testing uses module approach due to that any part can be tested without waiting for completion of another parts testing.
- The developing team focuses on the provided functionality of the unit and how functionality should look in unit test suits to
understand the unit API.
- Unit testing allows the developer to refactor code after several days and ensure the module still working without any defect.
- Unit testing helps fix bugs early in the development cycle and saves costs in the long term, especially for software products that
are constantly upgraded and expanded, such as software on Cloud platforms, SaaS, etc.
- Unit tests help Devs better understand the code as well as identify security vulnerabilities early.
- Good unit tests act as antibiotics for the product after it goes into operation.
- Unit tests with large coverage help software manufacturers confidently hand over quality products.
- Unit tests help reuse code. Move both your code and tests to a new project. Edit the code until the tests run again.[2]

 Disadvantages
- It cannot identify integration or broad level error as it works on units of the code.
- In the unit testing, evaluation of all execution paths is not possible, so unit testing is not able to catch each error in a program.
- It is best suitable for conjunction with other testing activities
- Writing Unit Tests is time-consuming, which is why it is difficult to meet the requirements of progress and short deadlines.
- Unit Tests only test data sets and their functions. Unit tests do not find integration errors, or errors arising from the closed-loop
process (end-to-end).
- The amount of code to write Unit Tests is sometimes larger than the actual number of lines of code, making control and
management difficult.
- Writing Test Code to test Code is sometimes ineffective, falling into the situation of "it's fried by the fat".
- Unit Test is completely different from writing normal code. There may be Programmers who are very good at writing code but
are not sure how to write test cases. There is no guarantee that, even if the unit test code is thoroughly tested, the software will be
bug-free.
- Unit testing requires investing time and effort to learn. Because sometimes you need to learn how to use automated software
tools.[2]

1.1.2. Definition Integration Test


Definition
-
Example
Advantages and disadvantages
 Advantages
 Disadvantages

1.2. Compare these 2 testing methods after applying to SIMS


2. Build a data processing application with automating testing based on a developed design in the first assignment. (P6)
3. Provide screenshots for the implemented applications and show how many tests have passed. (P7)
4. Assess effectiveness of using SOLID principles, clean coding techniques on the application developed. (M3)
5. Analyze the benefits and drawbacks of different forms of automatic testing. (M4)
III. CONLUSION

Group we have provided information about the software we have built. hope the software will be useful for the education sector and more
convenient in the educational work of students benefit
IV. REFERENCES
[1] Unit Testing là gì? Ưu và nhược điểm (no date) TIGO Software. Available at: https://tigosoftware.com/vi/unit-testing-la-gi-uu-va-nhuoc-diem (Accessed:
1 August 2024).

[2] Unit Testing - javatpoint (no date) www.javatpoint.com. Available at: https://www.javatpoint.com/unit-testing (Accessed: 1 August 2024).

You might also like