Marker Attribute to indicate a Method/Class/Property has been made more visible for purpose of testing.
Mark the member as internal and make the testing assembly a friend using
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version available is 1.69.0, located at the \u003ccode\u003e/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Testing\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThere are several prior versions available including 1.68.0, 1.60.0, 1.59.0, 1.55.0 and 1.50.0, with each accessible via its corresponding endpoint path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVisibleForTestOnly\u003c/code\u003e attribute can be used as a marker for methods, classes, or properties that have been made more visible specifically for testing purposes.\u003c/p\u003e\n"],["\u003cp\u003eTo use the \u003ccode\u003eVisibleForTestOnly\u003c/code\u003e attribute effectively you must mark the member as internal and also make the testing assembly a friend using the \u003ccode\u003eInternalsVisibleTo\u003c/code\u003e attribute.\u003c/p\u003e\n"]]],[],null,["# Namespace Google.Apis.Testing (1.69.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.69.0 (latest)](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Testing)\n- [1.68.0](/dotnet/docs/reference/Google.Apis/1.68.0/Google.Apis.Testing)\n- [1.60.0](/dotnet/docs/reference/Google.Apis/1.60.0/Google.Apis.Testing)\n- [1.59.0](/dotnet/docs/reference/Google.Apis/1.59.0/Google.Apis.Testing)\n- [1.55.0](/dotnet/docs/reference/Google.Apis/1.55.0/Google.Apis.Testing)\n- [1.50.0](/dotnet/docs/reference/Google.Apis/1.50.0/Google.Apis.Testing) \n\nClasses\n-------\n\n### [VisibleForTestOnly](/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Testing.VisibleForTestOnly)\n\nMarker Attribute to indicate a Method/Class/Property has been made more visible for purpose of testing.\nMark the member as internal and make the testing assembly a friend using \n\n [assembly: InternalsVisibleTo(\"Full.Name.Of.Testing.Assembly\")]"]]