peteclark82 / cuke-tree

A hierarchical Cucumber test report generator and IDE for node.js
MIT License
12 stars 4 forks source link

Nodes in the tree are not always uniquely identified #17

Closed simondean closed 10 years ago

simondean commented 10 years ago

Each node in the tree has a unique ID that is used to populate the right hand side when clicking a node. Currently the unique ID is based on some parts of an item's identity (e.g. URI, ID, path in the directory structure, profile name).

Sometimes the unique ID is not unique enough and two nodes can end up with the same one. This can result in the wrong children being displayed under a node in the tree.

A solution is to use a random number as the unique ID.