Skip to content

A simple Java console application designed to assist in tracking job openings, applying, managing candidates etc. It is an educational exercise to explore and implement various white-box and black-box testing methodologies.

Notifications You must be signed in to change notification settings

soumikdr/smqa-placement-app

Repository files navigation

Placement Application

Placement Application is a full-fledged console based application that streamlines the entire placement journey by providing a structured approach to handling applications and maintaining smooth interactions between applicants and recruiters.


Prerequisites

Before running the project, ensure you have the following installed:

  • Eclipse IDE
  • Java Development Kit (JDK) 17

Import the Project into Eclipse

  1. Open Eclipse and navigate to File > Import > General > Existing Projects into Workspace > Select Root Directory > Browse.
  2. Select the project root directory of extracted zip and import it.

Testing

ATTENTION: Since the necessary inputs in the project are taken via the console, if the tests need to be run in a way that includes black box tests, such as running all the tests together or only running blackbox tests, the steps specified in the Utility.java must be applied. Because in the tests produced with Randoop, input is expected from the console.

White Box Testing

Running White Box Testing

To perform white box testing Right Click on test.whitebox package and follow Run As > JUnit test

White Box Test coverage

To perform white box testing Right Click on test.whitebox package and follow Coverage As > JUnit test


Black-Box Testing

NOTE: Because of the way our application is designed and behaves, it requires some input to be entered in console for excution.
To achieve that in black-box testing, follow instructions given in Utility.java before running the tests 

Running Black Box Testing

To perform black box testing Right Click on test.blackbox package and follow Run As > JUnit test

Black Box Test coverage

To perform black box testing Right Click on test.blackbox package and follow Coverage As > JUnit test


Running Application

To run and test the application, if you have previously followed the steps in Utility.java to run the blackbox tests, you need to undo these steps. Otherwise, the console will receive random string values instead of user inputs.

To run the application Right click on Main.java and do Run As > Java Application

If you're registering as a recruiter you'll be asked a recruiter code, usually this code is provided by the organizations but for a simple system like ours we have hard coded it as XVQTY for now.

Sample User Authentications for Initial Data

Recruiter 

Username:ansarPatil

Password:123qwe
Applicant

Username:johnDoe

Password:bestpassword

© Group 15 Authors (Amisha Rastogi, Ansar Patil, Emir Yücel, Mayur Shinde, Soumik Datta)

About

A simple Java console application designed to assist in tracking job openings, applying, managing candidates etc. It is an educational exercise to explore and implement various white-box and black-box testing methodologies.

Topics

Resources

Stars

Watchers

Forks

Contributors 5

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy