DSS 12 S4 03 Integration Testing

15
 School of Computer Science & Software Engineering Bachelor of Computer Science (Digital Systems Security) CSCI321- Project Integration Testing 23 February 2013 Group: SS12/4B Khoo Jun Xiang 4000766 [email protected]  Ang Wencan Stephen 4194032 [email protected] Goh Kheng Siang Joel 4187490 [email protected] Lim Sing Hui 4185948 [email protected] Low Jia Hui 4186448 [email protected] Supervisor: Mr Sionggo Jappit Assessor: Mr Tan Kheng Teck 

Transcript of DSS 12 S4 03 Integration Testing

Page 1: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 1/15

 

School of Computer Science & Software EngineeringBachelor of Computer Science (Digital Systems Security)

CSCI321- Project

Integration Testing – 23 February 2013

Group: SS12/4B

Khoo Jun Xiang 4000766 [email protected] 

Ang Wencan Stephen 4194032 [email protected] 

Goh Kheng Siang Joel 4187490 [email protected] 

Lim Sing Hui 4185948 [email protected] 

Low Jia Hui 4186448 [email protected] 

Supervisor: Mr Sionggo Jappit

Assessor: Mr Tan Kheng Teck 

Page 2: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 2/15

Integration Testing Please note that during this phase of testing, the software might not be in its final build, hence theremight be slight difference between some screenshots and the user interface.

Range 

Correct Input (Set Range)

Expected Outcome:Created range is stored in Database

Result:Database stored the created range

Test: Pass

Application 

Correct Input (Reading In of Application)

Expected Outcome:Application and it's attribute isstored in Database

Result:

Database stores the application andits attribute

Test: Pass 

Page 3: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 3/15

Manage User (Create) 

Correct Input (Create User)

Expected Outcome:

‘User’ created is stored in

Database. User’s password is notstored as plain-text in the database.

Result:

Database stores the 'user' created.user’s password is hashed using

md5 and stored in database.

Test: Pass 

Manage User (Update)

Correct Input(Update User)

Expected Outcome:

'user' updated has to be stored inDatabase

Result:Database stores the updated 'user'

details

Test: Pass

Page 4: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 4/15

Manage User (Delete) 

Invalid User Details 

Expected Outcome:

'user' has to be deleted from Database

Result:Database deletes the 'user'

Test: Pass

Page 5: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 5/15

Manage Constraint (Create)

Correct Input (Create Constraint)

Expected Outcome:

'constraint' created has to be stored

in Database

Result:Database stores the created

'constraint'

Test: Pass

Manage Constraint (Update)

Correct Value 

(Update Constraint) 

Expected Outcome:

'constraint' updated has to be storedin Database

Result:

Database stores the updated'constraint'

Test: Pass

Page 6: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 6/15

Manage Constraint (Delete)

Correct Input (Delete Constraint)

Expected Outcome:

'constraint' deleted has to be

removed from Database

Result:Database deletes the 'constraint'

Test: Pass

Page 7: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 7/15

Manage Role (Create)

Correct Input (Create Role)

Expected Outcome:

'role' created has to be stored in

Database

Result:Database stores the created 'role'

Test: Pass 

Page 8: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 8/15

 

Manage Role (Update)

Correct Input (Update Role)

Expected Outcome:

'role' updated has to be stored inthe Database

Result:Database stores the updated 'role'

Test: Pass 

Page 9: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 9/15

 

Manage Role (Delete)

Correct Input (Delete Role)

Expected Outcome:

'role' deleted has to be removedfrom Database

Result:Database removes the deleted 'role'

Test: Pass 

Page 10: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 10/15

 

Create Report 

Valid Input 

Expected Outcome:

'report' generated has to be storedin Database

Result:Database stores the generated

'report'

Test: Pass 

Page 11: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 11/15

 

Delete Report 

Valid Input 

Expected Outcome:

'report' deleted has to be removedin Database

Result:

Database removes the deleted'report'

Test: Pass 

Page 12: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 12/15

Compilation Error 

Problem:Program fails to compile as time isoutdated

Test: Pass 

Solution:

Sync the time to an Internet TimeServer  

Expected Outcome:

Program is expected to run

Test: Pass 

Page 13: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 13/15

Problem:Program fails to compile as files

are not included in project fileFor this scenario, Mange Role,

Manage Range and Manage User are not included

Test: Pass 

Solution:Ensure files are included properly 

Page 14: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 14/15

 Expected Outcome:

Program is expected to run

Test: Pass 

Problem:Image is not displayed after combining design ui. Error is

resource file

Test: Pass 

Solution:Ensure resource files are included

 properly 

Page 15: DSS 12 S4 03 Integration Testing

7/29/2019 DSS 12 S4 03 Integration Testing

http://slidepdf.com/reader/full/dss-12-s4-03-integration-testing 15/15

 Expected Outcome:

Program is expected to run

Test: Pass