( loop )
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 |
|---|---|---|---|---|---|
| ( foreach_loop ) | for .. in | - | for .. in | - | - |
| ( foreach_with_filter ) | → | - | for .. in .. where | - | - |
| ( for_0_to_n ) | → | - | → | - | - |
| ( while_loop ) | → | - | → | - | - |
| ( while_else ) | → | - | → | - | - |
| ( do_while ) | → | - | - | - | - |
| ( infinite_loop ) | → | - | → | - | - |
| ( repeat_n_times ) | → | - | → | - | - |
| ( implicit_variable_in_loop ) | - | - | → | - | - |
| ( break_out_of_loop ) | break | - | break | → | - |
| ( continue_in_loop ) | continue | - | continue | → | - |
| ( redo_in_loop ) | → | - | → | → | - |
| ( break_out_of_nested_loop ) | → | - | use label | → | - |
| ( do_while_loop ) | - | - | → | - | - |