Skip to content

0kakarot0/EmployeeManagementAPITestingPractice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Employee Management API Testing

This project is aimed at testing the Employee Management API endpoints using Rest Assured framework in Java. The API provides CRUD operations for managing employees, including creating, reading, updating, and deleting employee records.

Table of Contents

Setup

  1. Clone the Repository:
    git clone https://github.com/0kakarot0/EmployeeManagementAPITestingPractice.git
  2. Install Dependencies:
    • Ensure you have Maven installed. If not, download and install it from Maven's official website.
    • Navigate to the project directory and run:
      mvn clean install

Test Cases

The project includes test cases for the following CRUD operations:

  • GET Requests: Retrieve employees by ID.
  • POST Request: Create a new employee record.
  • PUT Request: Update an existing employee record.
  • DELETE Request: Delete an existing employee record.

Usage

  1. Run Tests: To execute the test cases, run the following command:

    mvn test
  2. View Test Reports: After running the tests, view the test reports located in the target/surefire-reports directory.

Contributing

Contributions are welcome! If you have any suggestions, improvements, or new features to add, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages