-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Testing
Shane Neuville edited this page Jun 19, 2024
·
5 revisions
Framework
- XUnit is used in most of the projects any new test projects created should utilize XUnit.
- NUnit is used in some legacy projects, we tend to migrate all tests to run under XUnit so any new test projects created should utilize XUnit.
- xharness is a dotnet tool and TestRunner library that makes running unit tests in mobile platforms easier.
- Unit tests - These are tests that will not run on a device. This is useful for testing device independent logic.
├── Controls
│ ├── test
│ │ ├── Controls.Core.UnitTests
│ │ ├── Controls.Core.XamlUnitTests
├── Core
│ ├── test
│ │ ├── Core.UnitTests
├── Essentials
│ ├── test
│ │ ├── Essentials.UnitTests
├── Graphics
│ ├── test
│ │ ├── Graphics.Tests
├── SingleProject
│ ├── test
│ │ ├── Resizetizer.UnitTests
-
UI tests - These are tests that will run on an actual device or simulator and interact with an application.
- Start here. Device tests are tricky for new contributors, and you can always accomplish what you need to with UITests
-
Device tests - These are tests that will run on an actual device or simulator