( string_is_x )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( string_is_empty ) | s == '' | - | - | - | - |
| ( string_is_null_or_empty ) | is None + len | - | - | - | - |
| ( string_contains ) | s in text | - | - | - | - |
| ( string_starts_with ) | startswith | - | - | - | - |
| ( string_ends_with ) | endswith | - | - | - | - |
| ( is_alnum ) | → | - | - | - | - |
| ( is_alnum_multibyte ) | → | - | - | - | - |
| ( is_alpha ) | → | - | - | - | - |
| ( is_digit ) | → | - | - | - | - |
| ( is_space ) | → | - | - | - | - |
| ( is_lower ) | islower | - | - | - | - |
| ( is_upper ) | isupper | - | - | - | - |