Document that tests should create test data, rather than storing as files in the python path.
|Reported by:||tom.prince||Owned by:||adiroiban|
branch-diff, diff-cov, branch-cov, buildbot
<exarkun> keeping data in the source tree should be avoided where possible <exarkun> I don't think anyone knows how to avoid it in _all_ cases, but where it's obvious how to do so it seems worthwhile. <exarkun> And dumping data into a temporary path during the test run opens up more testing opportunities <exarkun> If the data is part of the shipped source, then it's hard to rely on some of the less obvious properties (permissions, for example) <exarkun> There's a handful of tests that fail when run against an installed copy of Twisted. I dunno if this test is one of them, but it suffers from the same problem as the failing tests do, even if it doesn't have the same symptom
Change History (6)
comment:3 Changed 12 months ago by adiroiban
- Branch set to branches/docs-test-data-6535
- Keywords review added; documentation policy removed
- Owner adiroiban deleted
Note: See TracTickets for help on using tickets.