有什么方法可以测试 React Native 的像素完美度吗?

问题描述 投票:0回答:1

在网络中,我通常使用 PerfectPixel chrome 扩展。它只允许封面包含上传的设计、反色等。

在 React Native 中测试设计有什么可能的方法吗?

user-interface testing react-native ui-testing
1个回答
0
投票

在React Native中,您可以使用我构建的自定义库来实现类似于PerfectPixel的设计测试。该库允许您在应用程序上叠加设计图像,以进行像素完美的比较。

您可以在这里找到该库:https://github.com/qvantor/rn-pixel-perfect

© www.soinside.com 2019 - 2024. All rights reserved.