np-guard / vpc-network-config-analyzer

A tool for analyzing the configured network connectivity of VPCs as specified by various VPC resources
Apache License 2.0
8 stars 0 forks source link

remove hard coded tests #882

Closed ShiriMoran closed 1 month ago

ShiriMoran commented 1 month ago

I went over all the tests and removed one of them, see comment in the commit. Apart from that the tests are one of

  1. based on files, backed by a generation mechanism in case the strings changes
  2. Unit tests based on data structures or on very little amount of text
  3. Unit tests based on the connectivity text (e.g.vsi1 => Public Internet 1.2.0.0/22,8.8.8.8/32 : All Connections ) which is stable.