internals-visible-to-tests

Community

Expose internal state safely for testable code.

AuthorAdaskoTheBeAsT
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Expose the smallest possible internal surface to matching test projects when a behavior is too hard to verify indirectly through the public API alone.

Core Features & Use Cases

  • Identify candidate private members for internal visibility and add InternalsVisibleTo entries for test assemblies using common naming patterns
  • Preserve the public API by widening visibility only when direct testing justifies it
  • Streamline testability in projects where source and test assemblies share a base name (e.g., Lib and Lib.Tests) and suffixes (.Test, .Tests, .IntegrationTest, .IntegrationTests)

Quick Start

Add an InternalsVisibleTo entry to the source project for your matching test assembly and run tests to verify behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: internals-visible-to-tests
Download link: https://github.com/AdaskoTheBeAsT/AdaskoTheBeAsT.Interop/archive/main.zip#internals-visible-to-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.