unoplatform/uno
Ver no GitHubLayout unit tests should be migrated to runtime tests
Open
#15.703 aberto em 29 de fev. de 2024
area/tests 🧪difficulty/starter 🚀good first issuekind/bugproject/layout 🧱
Métricas do repositório
- Stars
- (9.789 stars)
- Métricas de merge de PR
- (Mesclagem média 14d 8h) (130 fundiu PRs em 30d)
Description
Current behavior
Using unit tests for layout-related stuff isn't a good idea for the following reasons:
- They are run against a "mock" layouting implementation, which can be very different from the actual implementation. So, results can be very deceiving.
- For some scenarios, we could be having different behavior on different platforms. We definitely want to catch those so that we are aware of them. Having the test to verify the actual behavior on all supported platforms is a lot better.
Expected behavior
Migrate to runtime tests
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response