Files
Terminal.Gui/Tests
copilot-swe-agent[bot] 89c09aab4f Implement step 7: Add comprehensive Phase 2 unit tests and fix ambiguous method calls
- Created Phase2RunnableMigrationTests.cs with 14 tests covering:
  - Toplevel implements IRunnable
  - Dialog implements IRunnable<int?> with Result property
  - MessageBox uses Dialog.Result
  - Wizard inherits from Dialog with WasFinished property
  - Lifecycle events (IsRunningChanging/IsRunningChanged)
  - Backward compatibility
- Fixed ambiguous generic Run<T> method calls in existing UnitTests
- Marked 2 tests as skipped, fixed 1 test to use non-generic Run()
- All builds now succeed with no new errors

Co-authored-by: tig <585482+tig@users.noreply.github.com>
2025-11-22 01:00:13 +00:00
..

Terminal.Gui Tests

This folder contains the tests for Terminal.Gui.

./UnitTests

This folder contains the unit tests for Terminal.Gui that can not be run in parallel. This is because they depend on Application or other class that use static state or ConfigurationManager.

We should be striving to move as many tests as possible to the ./UnitTestsParallelizable folder.

./UnitTestsParallelizable

This folder contains the unit tests for Terminal.Gui that can be run in parallel.

./IntegrationTests

This folder contains the integration tests for Terminal.Gui.

./StressTests

This folder contains the stress tests for Terminal.Gui.

./PerformanceTests

This folder WILL contain the performance tests for Terminal.Gui.

See the Testing wiki for details on how to add more tests.