# TestRunnerComponent Provides a Visual UI for Running Unit Tests Inside an App

DevFeed: [TestRunnerComponent Provides a Visual UI for Running Unit Tests Inside an App](<https://devfeed.tech/articles/new-testrunner-component-19413.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/new-testrunner-component/>)

Author: Steve Hannah

Published: 2020-10-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [App](<https://devfeed.tech/topics/app.md>), [debug](<https://devfeed.tech/topics/debug.md>), [ide](<https://devfeed.tech/topics/ide.md>)

Tags: [debug](<https://devfeed.tech/tags/debug.md>), [ide](<https://devfeed.tech/tags/ide.md>), [project](<https://devfeed.tech/tags/project.md>), [running](<https://devfeed.tech/tags/running.md>), [screen](<https://devfeed.tech/tags/screen.md>), [test](<https://devfeed.tech/tags/test.md>), [tests](<https://devfeed.tech/tags/tests.md>), [ui](<https://devfeed.tech/tags/ui.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

## AI overview

The article introduces TestRunnerComponent, which lets developers run unit tests inside a regular app project through a visual interface. It also makes the tests easier to debug in an IDE, and displays results on screen after execution.

## Source excerpt

A while back we added a new TestRunnerComponent that provides a visual UI for running unit tests inside an app. Sometimes, while I'm developing unit tests, I find it easier to write them inside a regular app project instead of in the "tests" directory. This allows me to debug the unit tests in the IDE more easily, just like I debug regular apps. The TestRunner component makes it simple to do this.