# \#units-testing

**URL:** https://community.br-automation.com/tag/units-testing/125.md

[Latest](https://community.br-automation.com/latest.md) · [Categories](https://community.br-automation.com/categories.md) · [Tags](https://community.br-automation.com/tags.md)

---

## [Unit Integration Framework for B&R Automation Studio (GoogleTest-style test workflow)](https://community.br-automation.com/t/unit-integration-framework-for-b-r-automation-studio-googletest-style-test-workflow/10454)

<div class="topic-metadata">

**Author:** [@umraniab](https://community.br-automation.com/u/umraniab)\
**Replies:** 2\
**Last updated:** [March 17, 2026, 1:00pm UTC](https://community.br-automation.com/t/unit-integration-framework-for-b-r-automation-studio-googletest-style-test-workflow/10454 "2026-03-17T13:00:49Z")

</div>

Hello Community, I would like to share a Unit Integration Framework project for B&R Automation Studio that helps build, execute, and visualize PLC unit/integration tests with a workflow similar to GoogleTest. General i…

---

## [Available Test Items field is empty](https://community.br-automation.com/t/available-test-items-field-is-empty/6750)

<div class="topic-metadata">

**Author:** [@Martin\_Szilagyi](https://community.br-automation.com/u/Martin_Szilagyi)\
**Replies:** 9\
**Last updated:** [December 30, 2025, 8:25am UTC](https://community.br-automation.com/t/available-test-items-field-is-empty/6750 "2025-12-30T08:25:44Z")

</div>

Hi! I am trying to implement some unit test codes and run them, but the “Available Test Items” field is empty upon opening the Unit Test Page. When I try reloading available tests an error message pops up that tests cou…

---

## [Dependency Injection for Hardware-Dependent Unit Tests](https://community.br-automation.com/t/dependency-injection-for-hardware-dependent-unit-tests/8665)

<div class="topic-metadata">

**Author:** [@Stefan\_Hirschen](https://community.br-automation.com/u/Stefan_Hirschen)\
**Replies:** 1\
**Last updated:** [October 14, 2025, 5:17am UTC](https://community.br-automation.com/t/dependency-injection-for-hardware-dependent-unit-tests/8665 "2025-10-14T05:17:27Z")

</div>

:bullseye: Purpose When testing function blocks that interact with hardware interfaces (HTTP, CAN, RS485, etc.), direct dependencies on B&R libraries or physical devices make automated testing difficult, unreliable or im…

---

## [Issues after adding unit test program to active software configuration](https://community.br-automation.com/t/issues-after-adding-unit-test-program-to-active-software-configuration/4588)

<div class="topic-metadata">

**Author:** [@victor-swekis](https://community.br-automation.com/u/victor-swekis)\
**Replies:** 4\
**Last updated:** [June 19, 2025, 7:39am UTC](https://community.br-automation.com/t/issues-after-adding-unit-test-program-to-active-software-configuration/4588 "2025-06-19T07:39:42Z")

</div>

Hello, when i try to implement new tests everything works fine, till i add the test into the software configuration. I get a lot of errors after that and i dont have any clue why that is. Regards Victor

---

## [Adding a Unit Test](https://community.br-automation.com/t/adding-a-unit-test/5247)

<div class="topic-metadata">

**Author:** [@kenneth.tham](https://community.br-automation.com/u/kenneth.tham)\
**Replies:** 5\
**Last updated:** [December 19, 2024, 5:25am UTC](https://community.br-automation.com/t/adding-a-unit-test/5247 "2024-12-19T05:25:58Z")

</div>

Hi, I am looking for a way to add unit tests to test some PLC code. How do I add a unit test library or solution? I tried to search for it in the Object Catalog, but could not find it. I am using AS 4.7. Thanks and Reg…

---

## [No test report available for test suite](https://community.br-automation.com/t/no-test-report-available-for-test-suite/4540)

<div class="topic-metadata">

**Author:** [@victor-swekis](https://community.br-automation.com/u/victor-swekis)\
**Replies:** 5\
**Last updated:** [December 6, 2024, 6:14am UTC](https://community.br-automation.com/t/no-test-report-available-for-test-suite/4540 "2024-12-06T06:14:52Z")

</div>

I have a problem, where i would like to extend the geting started programm regarding the Unit Test. When i try to run the test where i basically just copy and paste a simple ADD Test, the custom one will just show error…

---

## [Test Template for ST](https://community.br-automation.com/t/test-template-for-st/4576)

<div class="topic-metadata">

**Author:** [@victor-swekis](https://community.br-automation.com/u/victor-swekis)\
**Replies:** 1\
**Last updated:** [October 14, 2024, 9:45am UTC](https://community.br-automation.com/t/test-template-for-st/4576 "2024-10-14T09:45:55Z")

</div>

Hello, is there possibly a template for writing Unit-Tests with ST besides the one existing for writing in c?
