Repository navigation
Commit 70b4f50
committed
test(ofrep): point at Appendix F for the policy, and keep the suite importing
The README and the pyproject comment both carried the reasoning for excluding
a conformance suite from the default build, in this package's own words, and
the two did not quite agree -- the README made Docker a reason, which it is
not. That reasoning is now Appendix F's "Running the suite in CI", so both
point at it instead.
What stays is what is local: where the exclusion lives, the command a
maintainer runs, the current tally with what each failure and the one xfail
is, and that Docker does not decide it -- the flagd package's tests/e2e needs
Docker too and does run in the default build.
Appendix F also asks that an excluded suite keep building even when it does not
run. `--ignore` does not import the suite at all, and mypy here is configured
over `src`, so nothing checked that. `poe test` and `poe test-cov` now end in
a collect-only pass over tests/tck, which imports every test module and
resolves the feature files without starting a container -- under a second, 56
tests collected.
The two default tasks become sequences, so their commands move to
`test-default` and `test-cov-default`. `poe cov`, which is what build.yml
runs, is unchanged in name and now covers the collect as well.
Signed-off-by: Simon Schrottner <simon.schrottner@flagsmith.com>1 parent 34aa7f3 commit 70b4f50
2 files changed
Lines changed: 37 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| 63 | + | |
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
91 | 102 | | |
| 103 | + | |
92 | 104 | | |
93 | 105 | | |
94 | 106 | | |
| |||
0 commit comments