( class_definition )
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 |
|---|---|---|---|---|---|
| ( class_definition ) | → | - | - | - | - |
| ( constructor ) | → | - | - | - | - |
| ( instance_variable ) | → | - | - | - | - |
| ( instance_method ) | → | - | - | - | - |
| ( class_variable ) | → | - | - | - | - |
| ( class_method ) | @classmethod | - | - | - | - |
| ( static_method ) | @staticmethod | - | - | - | - |
| ( can_have_nested_class ) | Yes | - | - | - | - |
| ( auto_generated_methods_for_data_types ) | @dataclass | - | - | - | - |