hyperledger-identus / hyperledger-identus/cloud-agent

Some integration-test scenarios are impure

Open
#1,617 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
95
Forks
34
Avg merge
1d 5h
Merged PRs (30d)
14

Description

### Is this a regression?

No

### Description

When running all integration-test scenarios together, as is done in CI, everything works as expected. However, when debugging locally and isolating specific test scenarios for faster iteration, I've noticed that some scenarios leak data between each other.

This may be intentional, but it increases cognitive load when trying to debug tests in isolation. Ideally, each test scenario should be as independent as possible to minimize this complexity.

In PR #1616(https://github.com/hyperledger-identus/cloud-agent/pull/1616), extra steps were added to `present_proof.feature` to ensure cases do not reuse data or state from other scenarios, but the underlying issue of impurity between scenarios remains and should be addressed for better local testing and debugging.

### Please provide the exception or error you saw

```Markdown
NA
```

### Please provide the environment you discovered this bug in

```Markdown
NA
```

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.