( control_syntax )
凡例
| → | 対応コードあり |
| → | 直接対応していないが代替の書き方あり |
| → | 対応コードなし |
| - | 未確認 |
| ( .. ) | ローカライズまだ |
| Feature | Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|---|
| ( if ) | ( if_syntax ) | → | - | - | - | - |
| ( postfix_if ) | → | - | - | - | - | |
| ( assign_value_in_if_condition ) | → | - | - | - | - | |
| ( loop ) | ( foreach_elements ) | → | - | - | - | - |
| ( for_0_to_n ) | → | - | - | - | - | |
| ( while ) | → | - | - | - | - | |
| ( while_else ) | → | - | - | - | - | |
| ( do_while ) | → | - | - | - | - | |
| ( infinite_loop ) | → | - | - | - | - | |
| ( repeat_n_times ) | → | - | - | - | - | |
| ( auto_assigned_variable_in_loop ) | → | - | - | - | - |