|
Selfie
|
Public Member Functions | |
| __init__ (self, PytestSnapshotSystem system, TypedPath test_file) | |
| assert_not_terminated (self) | |
| test_start (self, str testname) | |
| test_failed (self, str testname) | |
| test_finish (self, str testname) | |
| keep (self, str test, Optional[str] suffix_or_all) | |
| write (self, str test, str suffix, Snapshot snapshot, CallStack call_stack, SnapshotFileLayout layout) | |
| Optional[Snapshot] | read (self, str test, str suffix) |
| SnapshotFile | read_file (self) |
Public Attributes | |
| system | |
| test_file | |
| finishes_expected | |
| finishes_so_far | |
| has_failed | |
| testname_in_progress_failed | |
| testname_in_progress | |
| disk_write_tracker | |
| file | |
Static Public Attributes | |
| TERMINATED = ArrayMap.empty().plus(" ~ / f!n1shed / ~ ", WithinTestGC()) | |
| pytest_selfie.plugin.SnapshotFileProgress.__init__ | ( | self, | |
| PytestSnapshotSystem | system, | ||
| TypedPath | test_file | ||
| ) |
Definition at line 290 of file plugin.py.
| pytest_selfie.plugin.SnapshotFileProgress.assert_not_terminated | ( | self | ) |
| pytest_selfie.plugin.SnapshotFileProgress.keep | ( | self, | |
| str | test, | ||
| Optional[str] | suffix_or_all | ||
| ) |
| Optional[Snapshot] pytest_selfie.plugin.SnapshotFileProgress.read | ( | self, | |
| str | test, | ||
| str | suffix | ||
| ) |
Definition at line 422 of file plugin.py.
| SnapshotFile pytest_selfie.plugin.SnapshotFileProgress.read_file | ( | self | ) |
Definition at line 429 of file plugin.py.
| pytest_selfie.plugin.SnapshotFileProgress.test_failed | ( | self, | |
| str | testname | ||
| ) |
| pytest_selfie.plugin.SnapshotFileProgress.test_finish | ( | self, | |
| str | testname | ||
| ) |
| pytest_selfie.plugin.SnapshotFileProgress.test_start | ( | self, | |
| str | testname | ||
| ) |
Definition at line 318 of file plugin.py.
| pytest_selfie.plugin.SnapshotFileProgress.write | ( | self, | |
| str | test, | ||
| str | suffix, | ||
| Snapshot | snapshot, | ||
| CallStack | call_stack, | ||
| SnapshotFileLayout | layout | ||
| ) |
| pytest_selfie.plugin.SnapshotFileProgress.disk_write_tracker |
| pytest_selfie.plugin.SnapshotFileProgress.finishes_expected |
|
static |
| pytest_selfie.plugin.SnapshotFileProgress.testname_in_progress |
| pytest_selfie.plugin.SnapshotFileProgress.testname_in_progress_failed |