mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Updated Testing (markdown)
@@ -17,6 +17,9 @@ See the README.md in `UnitTests/` for details on how xunit is configured.
|
||||
|
||||
## Standard Regression Tests required before submitting a Pull Request
|
||||
|
||||
- Every PR should include at least one update or addition to the existing Unit Tests. If you fixed a bug, figure out how to write a test that ensures it never regresses.
|
||||
|
||||
- [UICatalog](https://github.com/migueldeicaza/gui.cs/tree/master/UICatalog) is a great sample app for manual testing. When adding new functionality, fixing bugs, or changing things, please either add a new `Scenario` to **UICatalog** or update an existing `Scenario` to fully illustrate your work and provide a test-case.
|
||||
- Ensure a UI Catalog Scenario has been developed that *specifically* exercises the code involved in the PR. This Scenario should explicitly and intentionally exercise the following common functional areas:
|
||||
- Absolute Positioning using constructors that take absolute coordinates (`Rect`, `x`, `y`, etc...).
|
||||
- Computed Positioning using constructors that do not take coordinates. Test various forms of computed positioning (e.g. `Pos.Percent`, `Pos.Y(view)`, etc...) and sizing (e.g. `Dim.Fill`, ...).
|
||||
|
||||
Reference in New Issue
Block a user