qascade / dcr

A PoC framework to orchestrate interoperable Differentially Private Data Clean Room Services using Intel SGX hardware as root of trust.
GNU Affero General Public License v3.0
19 stars 16 forks source link

test: make TestGraph tests strict #53

Open qascade opened 1 year ago

qascade commented 1 year ago

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.

Adja002 commented 1 year ago

Hello,

I'd like to work on this under your guidance.

Part of GSSoC'23

prakrit55 commented 1 year ago

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

qascade commented 1 year ago

@prakrit55 Please send me an mail on sksingh2211@gmail.com. Will send an invite

prakrit55 commented 1 year ago

@prakrit55 Please send me an mail on sksingh2211@gmail.com. Will send an invite

I sent the email, you can check it.