This folder contains integration suites for SynchTask backend.
bruno/
environments/
local.bru
integration/
core-flow/
security/
authorization/
validation/
bruno.json
Each suite bootstraps its own test users in its own folder (00-register-*, 01-login-*) and can be run independently.
- You do not need to run
core-flowbeforesecurity,authorization, orvalidation. - Run suites separately or all together, depending on what you are validating.
Required in environments/local.bru:
baseUrl(default:http://localhost:8081)ownerPasswordmemberPasswordoutsiderPassword
Most user emails/tokens are generated dynamically by pre-request scripts.
- Shared runtime variable:
runId(core-flow uses timestamp-based isolation). - Suite-scoped runtime variables:
securityRunId,securityOwnerEmail,securityOwnerTokenauthorizationRunId,authorizationOwnerEmail,authorizationOwnerTokenvalidationRunId,validationOwnerEmail,validationOwnerToken
- Core-flow runtime variables include
ownerEmail,memberEmail,outsiderEmail, plus related tokens and ids.
- Start backend:
SPRING_PROFILES_ACTIVE=dev ./gradlew bootRun- Open Bruno collection:
bruno/bruno.json - Select environment:
bruno/environments/local.bru - Run the desired folder under
integration/.