-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Overview
Develop an approach for leveraging SerenityJS to test the ShareThrift DDD application using BDD methodologies. This task will enable developers to write maintainable, domain-driven Cucumber feature tests, referencing both the Business Requirements Document (BRD) and System Requirements Document (SRD) in this repository.
Guidance
- Reference past attempts and patterns in Owner Community screenplay folder for implementation ideas.
- Focus on integrating SerenityJS with Cucumber feature files to ensure scenarios reflect real business requirements and domain logic.
- Developers should prioritize BRD/SRD scenarios and not replicate technical details from the OC repo unless useful for test structure.
Example Scenarios (from BRD/SRD and general BDD)
Here are two example interactions for SerenityJS BDD test implementation:
Scenario 1: User Shares an Item (Business Domain)
- Given a registered user is authenticated
- When the user lists a new physical good for sharing
- Then the item appears in the shared goods catalog and is visible to other users
Scenario 2: User Makes a Reservation Request (General BDD)
- Given a registered user is authenticated
- When the user submits a reservation request for an item
- Then the reservation request is recorded and the user receives a confirmation
Additional scenarios can be selected from the BRD and SRD markdowns located in the repo for comprehensive test coverage.
Deliverables
- Recommended SerenityJS BDD workflow and example test structure
- At least two implemented SerenityJS test scenarios based on BRD/SRD or standard BDD practices
- Guidance on adapting screenplay patterns from OC repo
References
- BRD/SRD markdowns in this repo
- Owner Community Screenplay Examples
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Review