Skip to content

feat(cucumberDeleteUser): implement delete user functionality and cor…#65

Open
Theo-lbg wants to merge 2 commits intomainfrom
feat/cucumberDeleteUser
Open

feat(cucumberDeleteUser): implement delete user functionality and cor…#65
Theo-lbg wants to merge 2 commits intomainfrom
feat/cucumberDeleteUser

Conversation

@Theo-lbg
Copy link
Copy Markdown
Collaborator

@Theo-lbg Theo-lbg commented Apr 2, 2026

…responding tests

@Theo-lbg Theo-lbg force-pushed the feat/cucumberDeleteUser branch from 4ef3177 to 5df86d6 Compare April 2, 2026 14:13
@Theo-lbg Theo-lbg linked an issue Apr 2, 2026 that may be closed by this pull request
@Theo-lbg Theo-lbg marked this pull request as ready for review April 3, 2026 12:59
Copilot AI review requested due to automatic review settings April 3, 2026 12:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Cucumber coverage for the /random-users/{id} DELETE flow (delete after create, and delete non-existent user) in the existing Spring Boot integration test setup.

Changes:

  • Add a new Cucumber feature for deleting users.
  • Add step definitions for DELETE and “GET after delete”.
  • Add a SpringIntegrationTest helper for executing DELETE requests.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/test/resources/features/delete_user.feature New feature scenarios for deleting an existing and a non-existing user
src/test/java/feature/StepDefinition.java New Cucumber steps to issue DELETE requests and verify behavior after deletion
src/test/java/feature/SpringIntegrationTest.java Adds executeDelete() helper used by step definitions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 3, 2026 13:03
@sonarqube-xpeho
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a cucumber scenario to test the delete user endpoint

3 participants