1 This directory should just contain package, and should not be a package
agable
2014/11/12 03:15:10
Perhaps include more information here (or in test/
Perhaps include more information here (or in test/data/README) about what these
files are actually for and why they shouldn't be touched.
An alternative approach would be to describe this filesystem in the tests, and
instantiate the whole filesystem in a temp directory at test time. That's what
the depot_tools tests do. On the one hand, it's pretty cool. On the other hand,
it means encoding the contents of all of these files inside the test files. And
that sucks a lot. So I think this is the better solution, but it's something to
consider.
pgervais
2014/11/13 00:28:27
Having a read-only structure checked out with the
On 2014/11/12 03:15:10, agable wrote:
> Perhaps include more information here (or in test/data/README) about what
these
> files are actually for and why they shouldn't be touched.
>
> An alternative approach would be to describe this filesystem in the tests, and
> instantiate the whole filesystem in a temp directory at test time. That's what
> the depot_tools tests do. On the one hand, it's pretty cool. On the other
hand,
> it means encoding the contents of all of these files inside the test files.
And
> that sucks a lot. So I think this is the better solution, but it's something
to
> consider.
Having a read-only structure checked out with the code means you never run into
issues like files impossible to remove or non-writable directories. Beside, it's
easier to debug when you have the actual directory structure to look at.
I'll add more info in test/data/README.
2 itself. It should NOT contain a __init__.py file.
Issue 709853003: New expect_tests UI
(Closed)
Created 6 years, 1 month ago by pgervais
Modified 6 years, 1 month ago
Reviewers: agable, dnj, iannucci
Base URL: https://chromium.googlesource.com/infra/testing/expect_tests@shebang
Comments: 82