From 20595177d03dc8b71bcc74e00f7550f5cc3f0f92 Mon Sep 17 00:00:00 2001 From: Charlie Kindel Date: Sun, 7 Jun 2020 22:28:51 -0600 Subject: [PATCH] Updated Testing (markdown) --- Testing.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Testing.md b/Testing.md index a8643a2..f79bb22 100644 --- a/Testing.md +++ b/Testing.md @@ -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`, ...).