---
title: "Codeunit 135094 Environment Info Test Library"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/
type: codeunit
id: 135094
name: "Environment Info Test Library"
app: "System Application Test Library"
namespace: System.TestLibraries.Environment
versions: "17-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/source/?v=24 https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/source/?v=25 https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/source/?v=26 https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/source/?v=27 https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/source/?v=28 https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 135094 Environment Info Test Library

JOP-AL, https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/

| | |
| --- | --- |
| App | System Application Test Library |
| Namespace | System.TestLibraries.Environment |
| Versions | 17-29 |
| Minors | W1 17.0-29.0; DE 17.0-29.0; US 17.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/135094-environment-info-test-library/editions.json) |
| SingleInstance | Yes |
| EventSubscriberInstance | Manual |
| Source file | Environment Information/src/EnvironmentInfoTestLibrary.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetTestabilitySandbox | (EnableSandboxForTest: Boolean) | - | public | 17-29 | - | - |
| SetTestabilitySoftwareAsAService | (EnableSoftwareAsAServiceForTest: Boolean) | - | public | 17-29 | - | - |
| SetAppId | (NewAppId: Text) | - | public | 17-29 | - | - |
| SetTestabilityPreview | (EnablePreviewForTest: Boolean) | - | public | 28-29 | - | - |
| SetTestabilityEarlyPreview | (EnableEarlyPreviewForTest: Boolean) | - | public | 28-29 | - | - |

## Source

Symbols: Microsoft.SystemApplicationTestLibrary.symbols.9856ae4f-d1a7-46ef-89bb-6ef056398228, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 8fd089973d4be7f6224d0845f41bec221fdda7dc.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at ad459712441b2fe6cb0cf1c560563f8ec7188a93.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
