android / android/skills

[Update] Testing Skill Setup

Open
#151 0 comments 0 reactions 1 assignee Claimed by @JoseAlcerreca View on GitHub
Dominant language
Python
Stars
7.3k
Forks
476
Avg merge
8h 59m
Merged PRs (30d)
7

Description

File: https://github.com/android/skills/blob/main/testing%2Ftesting-setup%2FSKILL.md
Reference:

> Espresso Tests for Views. Might use wrappers like Kaspresso. Dependencies: androidx.test.espresso:espresso-core, androidx.test:runner, androidx.test:rules.

Kaspresso is amazing and great framework which simplified UI testing a lot. However there a few improvements can be added to the skill.

Kaspresso using [Kakao](https://github.com/KakaoCup/) under the hood for DSL wrapping and custom assertions and matchers. As well Kaspresso providing a dependencies for UI automator. Kaspresso helping with reporting, assertions retries and extra loggin. It sort of "swissknife" for do everything at once.

I would like to higligh the logical level for depencencies

Espresso -> Kakao (DSL over Espresso + custom matchers) -> Kaspresso (Flaky retries, ADB, Reports, Logs and etc).

Sometimes it not requred for users to use all-at-once tooling, and Kakao is just enough.

Is it possible to adjust documentation and simply add

> Espresso Tests for Views. Might use wrappers like Kaspresso or Kakao Dependencies: androidx.test.espresso:espresso-core, io.github.kakaocup:compose, androidx.test:runner, androidx.test:rules.

Because I'm a main and single mainainer of Kakao, I would be appretiate to have this changes <3

Cheers, Konst

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.