( basic )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Feature | Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|---|
| ( assign_variable ) | ( reassignable_variable ) | → | - | - | - | - |
| ( non_reassignable_variable ) | → | - | - | - | - | |
| ( assign_with_type_check ) | → | - | - | - | - | |
| ( assign_without_type ) | → | - | - | - | - | |
| ( assign_multi_value ) | → | - | - | - | - | |
| ( assign_multi_value_discard_partially ) | → | - | - | - | - | |
| ( assign_multi_value_but_lhs_is_short ) | → | - | - | - | - | |
| ( assign_multi_value_but_rhs_is_short ) | → | - | - | - | - | |
| ( null_coalescing ) | → | - | - | - | → | |
| ( null_coalescing_like_op_in_dictionary ) | → | - | - | - | - | |
| ( assignment_expression_in_conditional_block ) | → | - | - | - | - | |
| ( block_scope ) | → | - | → | - | - | |
| ( assign_variable ) | - | - | → | - | - | |
| ( assign_constant ) | - | - | → | - | - | |
| ( null_coalescing_alternative_1 ) | - | - | - | - | → | |
| ( null_coalescing_alternative_2 ) | - | - | - | - | → | |
| ( returns_value_if_not_empty ) | - | - | - | - | → | |
| ( basic_syntax ) | ( comment_single_line ) | → | - | → | - | - |
| ( comment_multi_line ) | → | - | → | - | - | |
| ( comment_nestable ) | → | - | → | - | - | |
| ( source_statement_separator ) | → | - | → | - | - | |
| ( state_no_operation ) | → | - | → | - | - | |
| ( newline_before_equal ) | → | - | - | - | - | |
| ( newline_after_equal ) | → | - | - | - | - | |
| ( multiple_statement_on_one_line ) | → | - | - | - | - | |
| ( operator ) | ( logic_operator_not ) | → | - | - | - | - |
| ( logic_operator_and ) | → | - | - | - | - | |
| ( logic_operator_or ) | → | - | - | - | - | |
| ( arithmetic_operator_pow ) | → | - | - | - | - | |
| ( arithmetic_operator_plus ) | → | - | - | - | - | |
| ( arithmetic_operator_floor_division ) | → | - | - | - | - | |
| ( comparison_operator_less_than ) | → | - | - | - | - | |
| ( comparison_operator_less_than_or_equal ) | → | - | - | - | - | |
| ( comparison_operator_greater_than ) | → | - | - | - | - | |
| ( comparison_operator_greater_than_or_equal ) | → | - | - | - | - | |
| ( comparison_operator_equal ) | → | - | - | - | - | |
| ( additional_assignment_operator ) | → | - | - | - | - | |
| ( increment_operator ) | → | - | - | - | - | |
| ( standard_input ) | ( accept_pipe_input_and_process_lines_one_by_one ) | → | - | - | - | - |
| ( accept_keyboard_input ) | → | - | - | - | → | |
| ( exsample_ask_yes_no ) | → | - | - | - | - | |
| ( process_csv_lines:_accept_pipe_input_and_process_lines_one_by_one ) | - | - | - | - | → | |
| ( example_ask_yes_no ) | - | - | - | - | → | |
| ( standard_output ) | ( print_with_newline ) | → | → | - | - | - |
| ( print_with_format ) | → | → | - | - | - | |
| ( print_without_newline ) | → | → | - | - | - | |
| ( print_to_stderr ) | → | - | - | - | - | |
| ( pretty_print ) | → | - | - | - | - | |
| ( pretty_print_with_json ) | → | - | - | - | - |