dcr icon indicating copy to clipboard operation
dcr copied to clipboard

test: make TestGraph tests strict

Open qascade opened this issue 2 years ago • 4 comments

Description

Currently all the address.Graph struct inside the package graph is being populated using NewGraph() func. This function is being tested using TestGraph function, I want to make sure that all the graph values are checked deeply against hardcode required struct rather than just printing.

How are you planning to resolve on this issue?

Create a hardcoded stub for expected values per field in the graph and compare it with the output of the Graph from inside the code. As all the structs have already been checked manually all tests should pass in general. Please make sure to check across config yamls for cross-verification.

qascade avatar May 21 '23 07:05 qascade

Hello,

I'd like to work on this under your guidance. #Part of GSSoC'23

Adja002 avatar May 22 '23 05:05 Adja002

hey @qascade, I wd like to know more about the issue

prakrit55 avatar Jun 04 '23 20:06 prakrit55

@prakrit55 Please send me an mail on [email protected]. Will send an invite

qascade avatar Jun 04 '23 21:06 qascade

@prakrit55 Please send me an mail on [email protected]. Will send an invite

I sent the email, you can check it.

prakrit55 avatar Jun 06 '23 02:06 prakrit55