You are on page 1of 17

Project

“Shoes Store Testing”

Written by:
1. Alex Zaro Daeli
2. Rizky Fajar Ramadhan

Class: 3SE2
Faculty: Mr. Tri Agus Riyadi S.Kom , MT

Continuing Education Program Center for Computing and Information


Technology
Faculty of Engineering
University of Indonesia
2022
PROJECT ON
Shoes Store Testing

Developed by:
1. Alex Zaro Daeli
2. Rizky Fajar Ramadhan
Shoes Store Testing

Batch Code: 3SE2


Start Date: November 1, 2022
End Date: November 3, 2022
Name of Faculty: Tri Agus Riyadi S.Kom, M.T.
Names of Developer: 1. Alex Zaro Daeli
2. Rizky fajar Ramadhan
Date of Submission: November 4, 2022
CERTIFICATE

This is to certify that this report with titled “Shoes Store testing”, embodies the original
work done by Alex Zaro Daeli and Rizky Fajar Ramadhan. Project in partial fulfillment of
this course requirement at NIIT.

Coordinator: Mr. Tri Agus Riyadi S.Kom , MT


ACKNOWLEDGMENT

Praise to God Almighty, for the presence of plenty of mercy and His guidance, so the
writers can complete this project with title “Shoes Store Testing”. Without His mercy, the
writers could not be able to complete this project in time. Even though there are many obstacles
that writers face on making this project, but finally the writers can finish this project.

The writers also thanked to Mr. Tri Agus Riyadi S.Kom, M.T. as a lecturer who has
provided guidance to the author and advice in the process of preparing this project. The writers
do not to forget to thanked the various parties who have provided encouragement and
motivation, so that the project can be completed on time.
SYSTEM ANALYSIS

The title of this project is Shoes Store Testing. Shoes Store Testing is a website that’s
provide information about product Shoes. This website is specially for admin . There are three
web pages on this website. The pages are home, login, dashboard and validation.

To make the website look more attractive, authors use Bootstrap 5 that connected to
JSF Page. This makes the website interface and component more attractive and orderly.
Authors use two frameworks, Java Server Faces and Hibernate to simplify website
development to interact with the database.
TYPE OF TESTING TOOLS

• JUnit
JUnit is a unit testing framework for java. Used and writed by developer for testing a specific area
of a functionality of the code to be tested.

• Java Code Coverage (JaCoCo)


JaCoCo is a free code coverage library for Java, which has been created by the EclEmma team
based on the lessons learned from using and integration existing libraries for many years.
BLACK BOX

No Test Case Test Data Expected Actual Result Result


Result
1. Get shoes data Checks whether Not empty, Not empty, Pass
from database the length of the means that the means that the
arraylist of the data exists data exists
shoes
object is empty
or not
2. Add shoes data Checks whether To index page, To index page, Pass
to database the method means that means that
returns the successfully successfully
correct value add data add data
3. Save shoes data Checks whether To index page, To index page, Pass
to database, this case the method means that means that
used for button click returns the successfully successfully
in register form correct value add data add data
4. Get user data Checks whether To shoe To shoe Pass
from database, this the method page, means page, means
case used for button returns the that the data that the data
click in login form correct value exists exists
5. Show shoe data Checks whether Not empty, Not empty, Pass
from database the length of the means that the means that the
arraylist of the data exists data exists
shoe object is
empty or not
6. Get shoe data from Checks whether Not empty, Not empty, Pass
database by product id the length of the means that the means that the
arraylist of the data exists data exists
shoe object is
empty or not
7. Add shoe data to Input product data Not null, Not null, Pass
database correctly, after means that means that
executing the successfully successfully
method, check add data add data
whether the
product
object is not null or
not
BLACK BOX

No Test Case Test Data Expected Actual Result Result


Result
8. Delete shoe data Checking the Null, means Null, means Pass
from database product object after that that
executing the successfully successfully
method whether it delete data delete data
is null or not
9. Update shoe data Check the product Same result, Same result, Pass
from database name after the means that means that
update method is successfully successfully
run, if the results update data update data
are the same then
the test is
successful
10. Get all product Checks whether the Same result, Same result, Pass
record from ArrayList length of means that means that
database, to show the shoe object successfully successfully
product data in table matches the show all data show all data
expectation
11. Get shoe data by Checks whether the To shoe To shoe Pass
ID, this case used for method returns the page, means page, means
search button correct value that that
successfully successfully
search data search data
12. Save shoes to Checks whether the To shoe To shoe Pass
database, this case method returns the page, means page, means
used for create correct value that that
button successfully successfully
save data save data
13. Edit shoe data from Checks whether the To shoe To shoe Pass
database, this case method returns the page, means page, means
used correct value that that
for update button successfully successfully
update data update data
14. Delete shoe data Checks whether the To shoe To shoe Pass
from database, this method returns the page, means page, means
case correct value that that
used for delete button successfully successfully
delete data delete data
TESTING IMPLEMENTATION
DAO Login
TESTING IMPLEMENTATION
DAO Shoes
TESTING IMPLEMENTATION
DAO Shoes
TESTING IMPLEMENTATION
Dao Shoes
TESTING IMPLEMENTATION
Pojo Shoes
TESTING IMPLEMENTATION
Pojo User
RESULT
CONFIGURATION
CONFIGURATION

Hardware : Lenovo Yoga 7i


Operating System : Windows 11
Software : Netbeans IDE 8.2 with JSF and Hibernate
Link File Project :

PROJECT FILE DETAIL

No File Name Remarks


1 ShoesStoreTesting.pdf Microsoft Word
2 ShoesStoreTestingPPT.pdf Canva
3 shoesstore.zip Netbeans Project that contains code

You might also like