Skip to content

Unit Test Tracking #9

@Werni2A

Description

@Werni2A

Tests that should be implemented into the CI.

Feel free to contribute some test files. A few points to note are listed in the following.

  • If you vary a parameter e.g. an enum try to keep the rest of the parameters the same as for other variations of the same parameter. This simplifies finding the offset, when comparing two files byte-by-byte.

  • Do not use 0.0 or other values that might occur elsewhere in the file for tests. Otherwise we might misinterpret some values and the test does not detect this.

  • Units (enum)

  • Decimal places (unsigned in range [0, 4])

  • Start

    • Padstack usage (enum)
  • Drill

    • Slot
      • Slot type (enum)
      • X size (unsigned)
      • Y size (unsigned)
        • X tolerance
          • +
          • -
        • Y tolerance
          • +
          • -
    • Drill hole
      • Hole type (enum)
      • Finished diameter (unsigned)
      • + Tolerance (unsigned)
      • - Tolerance (unsigned)
      • Drill tool size (string)
      • Non-standard drill (enum)
    • Hole plating
      • Hole/slot plating (enum)
    • Define the drill rows and columns
      • Number of drill rows (unsigned)
      • Number of drill columns (unsigned)
      • Clearance between columns (unsigned)
      • Clearance between rows (unsigned)
      • Drills are staggered (bool)
  • Secondary Drill

    • Backdrill (bool)
      • Diameter (unsigned)
        • Backdrill drill symbol
          • Type of drill figure (enum)
          • Characters (string with <= 3 characters)
          • Drill figure width (unsigned)
          • Drill figure height (unsigned)
    • Counter bore/sink (bool)
      • Bore type (enum)
      • Diameter (unsigned)
      • + Tolerance (unsigned)
      • - Tolerance (unsigned)
      • Depth (unsigned)
  • Drill Symbol

    • Define a drill symbol
      • Type of drill figure (enum)
      • Characters (string with <= 3 characters)
      • Drill figure width (unsigned)
      • Drill figure height (unsigned)
  • Drill Offset

    • Offset from padstack origin to hole
      • Offset x (int)
      • Offset y (int)
  • Design Layers

    • ...
  • Mask Layers

    • ...
  • Options

    • Suppress unconnected internal pads; legacy artwork (bool)
    • Lock layer span (bool)
    • Poly via (bool)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions