Updated Testing (markdown)

Charlie Kindel
2020-06-07 22:28:51 -06:00
parent 0907befcfc
commit 20595177d0

@@ -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`, ...).