( function )
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 |
|---|---|---|---|---|---|---|
| ( function ) | ( function_definition ) | → | - | → | - | - |
| ( param_with_default_value ) | → | - | → | - | - | |
| ( param_with_keyword ) | → | - | - | - | - | |
| ( returns_multi_value ) | → | - | → | - | - | |
| ( return_can_be_omitted ) | → | - | - | - | - | |
| ( variadic_args ) | → | - | → | - | - | |
| ( variadic_keyword_args ) | → | - | → | - | - | |
| ( spread_args ) | → | - | → | - | - | |
| ( allow_trailing_comma_in_parameter_list ) | → | - | - | - | - | |
| ( function_can_be_nested ) | → | - | → | - | - | |
| ( labeled_parameter ) | - | - | → | - | - | |
| ( labeled_and_named_parameter ) | - | - | → | - | - | |
| ( inout_parameter ) | - | - | → | - | - | |
| ( return_can_be_ommited ) | - | - | → | - | - | |
| ( allow_trailing_commma_in_parameter_list ) | - | - | → | - | - | |
| ( function_overload_allowed ) | - | - | → | - | - | |
| ( lambda ) | ( lambda ) | → | - | - | - | - |
| ( lambda_allows_multi_line ) | → | - | - | - | - |