Kiểm thử ứng dụng trên Android   Một phần của Android Jetpack.

Kiểm thử ứng dụng là một phần không thể thiếu trong quá trình phát triển ứng dụng. Bằng cách chạy các quy trình kiểm thử cho ứng dụng một cách nhất quán, bạn có thể xác minh độ chính xác, hành vi của chức năng và khả năng hữu dụng của ứng dụng trước khi phát hành chính thức.

Việc kiểm thử cũng mang lại những lợi ích sau:

  • Phản hồi nhanh về các lỗi.
  • Phát hiện lỗi sớm trong chu kỳ phát triển.
  • Tái cấu trúc mã an toàn hơn, cho phép bạn tối ưu hoá mã mà không lo lắng về việc hồi quy.
  • Tốc độ phát triển ổn định, giúp bạn giảm thiểu nợ kỹ thuật.

Tài liệu

Tài liệu này trình bày các phương pháp hay nhất để kiểm thử ứng dụng Android:

Tài nguyên khác

Để biết thêm thông tin về quy trình kiểm thử trên Android, hãy tham khảo các tài nguyên sau.

Mẫu

Lớp học lập trình

Nội dung nghe nhìn

This is part of the Testing at scale series of articles where we asked industry experts to share their testing strategies. In this article, Ken Yee, Senior Engineer at Netflix, tells us about the challenges of testing a playback app at a massive

We’re excited to announce the new “Testing at scale” blog series! In these posts, industry experts working on different apps share their testing strategies, tips, and obstacles found along the way. This series complements the new Testing Strategies

You can test a ViewModel by simply creating an instance using its constructor in your test code. However, this approach has limitations — there is no straightforward way to: With ViewModelScenario, these are now easy to test, helping you catch errors

Keep your UI delightful by testing it! Previews allow quickly verifying components during development, which can be automated with the preview screenshot testing Gradle plugin to create visual regression tests. Behavior tests can use