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.
Description
Currently all the
address.Graphstruct inside the package graph is being populated usingNewGraph()func. This function is being tested using TestGraph function, I want to make sure that all the graph values are checked deeply against hardcoderequiredstruct 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.