|
1 | 1 | sequenceDiagram |
2 | | - participant Test as Test |
3 | | - participant ProcF as base_proc Fixture |
4 | | - participant NoProc1 as seeded_noproc Fixture |
5 | | - participant NoProc2 as more_seeded_noproc Fixture |
6 | | - participant DB as PostgreSQL DB |
| 2 | + participant Pytest as Pytest runner |
| 3 | + participant BaseProc as base_proc fixture (postgresql_proc_factory) |
| 4 | + participant NoProc1 as seeded_noproc fixture |
| 5 | + participant NoProc2 as more_seeded_noproc fixture |
| 6 | + participant PgServer as PostgreSQL server |
| 7 | + participant TemplateDB as Template DB (seeded) |
| 8 | + participant LayeredDB as Layered DB (seeded) |
7 | 9 |
|
8 | | - Test->>ProcF: request base_proc |
9 | | - ProcF->>DB: init database & run load_schema |
10 | | - ProcF-->>Test: return PostgreSQLExecutor |
| 10 | + Pytest->>BaseProc: request base_proc |
| 11 | + BaseProc->>PgServer: start server |
| 12 | + BaseProc->>TemplateDB: init database & run load_schema |
| 13 | + BaseProc-->>Pytest: return PostgreSQLExecutor |
11 | 14 |
|
12 | | - Test->>NoProc1: request seeded_noproc (depends_on=base_proc) |
13 | | - NoProc1->>ProcF: read connection/template info |
14 | | - NoProc1->>DB: create layered DB / run load_data |
15 | | - NoProc1-->>Test: return NoopExecutor |
| 15 | + Pytest->>NoProc1: request seeded_noproc (depends_on=base_proc) |
| 16 | + NoProc1->>BaseProc: read connection/template info |
| 17 | + NoProc1->>LayeredDB: create layered DB / run load_data |
| 18 | + NoProc1-->>Pytest: return NoopExecutor |
16 | 19 |
|
17 | | - Test->>NoProc2: request more_seeded_noproc (depends_on=seeded_noproc) |
18 | | - NoProc2->>NoProc1: read connection/template info |
19 | | - NoProc2->>DB: run load_more_data on layered DB |
20 | | - NoProc2-->>Test: return NoopExecutor |
| 20 | + Pytest->>NoProc2: request more_seeded_noproc (depends_on=seeded_noproc) |
| 21 | + NoProc2->>NoProc1: read connection/template info |
| 22 | + NoProc2->>LayeredDB: run load_more_data on layered DB |
| 23 | + NoProc2-->>Pytest: return NoopExecutor |
21 | 24 |
|
22 | | - Test->>Test: validate tables and data across layers |
| 25 | + Pytest->>Pytest: validate tables and data across layers |
0 commit comments