制御構文

凡例
→対応コードあり
→直接対応していないが代替の書き方あり
→対応コードなし
-未確認
( .. )ローカライズまだ
Feature Example Python
pytest
PHP
PHPUnit
Swift
Testing
Csharp
xunit
Bash
bats
Powershell
pester
C++
GoogleTest
JavaScript
Jest
Kotlin
jUnit
分岐 ( if, else, .. ) ( if_syntax ) → - → - - - - - -
( postfix_if ) → - → - - - - - -
( ternary_conditional_operator ) → - → - - - - - -
( ternary_conditional_operator_nested ) → - → - - - - - -
( switch_statement ) → - → - - - - - -
( switch_statement_fallthrough ) - - → - - - - - -
( switch_statement_additional_conditions ) - - → - - - - - -
繰り返し ( for, while, .. ) ( foreach_loop ) → - → - - - - - -
( foreach_with_filter ) → - → - - - - - -
( for_0_to_n ) → - → - - - - - -
( while_loop ) → - → - - - - - -
( while_else ) → - → - - - - - -
( do_while ) → - - - - - - - -
( infinite_loop ) → - → - - - - - -
( repeat_n_times ) → - → - - - - - -
( implicit_variable_in_loop ) → - → - - - - - -
( break_out_of_loop ) → - → - - - - - →
( continue_in_loop ) → - → - - - - - →
( redo_in_loop ) → - → - - - - - →
( break_out_of_nested_loop ) → - → - - - - - →
( do_while_loop ) - - → - - - - - -