Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Rename e2e tests #2193

Closed
Closed
@bonomat

Description

@bonomat

Follow-up ticket of #2106

Problem

We use the name of each test case as the name for the log file. This make the test names hard to read.
E.g. rfc003-btc-eth-erc20-alice-redeems-bob-redeems makes sense for the log file while something like [RFC003/BTC-ERC20] Alice funds and Bob redeems makes more sense for the test name.

Goal

  1. Make it easy to open a log file from a failing test
  2. Have speaking test names and logical dependent log file names.

Recommendation

Come up with a test name pattern and use string replace to remove non-unix characters to produce a valid log file name.

Also print the log file name when a test is failing (it is currently caught).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions