Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: README.md

Issue 1014323004: Updated documentation for expect_tests. (Closed) Base URL: https://chromium.googlesource.com/infra/testing/expect_tests.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 5a3b8c183879024e3046d2b7aeeba2faf857cb0d..052081fed7767fc9a6bdf034a49897e58bd47ddb 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ directory.
### Writing tests
Tests are subclasses of unittests.TestCase only. expect_tests looks for tests in
files named like '*\_test.py'. The coverage information for file foo.py is only
-collected from tests located in 'tests/foo\_test.py'.
+collected from tests located in 'test/foo\_test.py'.
### Invocation
The simplest expect_tests invocation is:
@@ -45,13 +45,13 @@ Example: Suppose you have the following structure:
root/package1
root/package1/__init__.py
root/package1/foo.py
- root/package1/tests/__init__.py
- root/package1/tests/foo_test.py # contains test TestFoo.test\_feature
+ root/package1/test/__init__.py
+ root/package1/test/foo_test.py # contains test TestFoo.test\_feature
root/package1/subpackage
root/package1/subpackage/__init__.py
root/package1/subpackage/subfoo.py
- root/package1/subpackage/tests/__init__.py
- root/package1/subpackage/tests/subfoo_test.py # contains TestSubFoo.test\_feature
+ root/package1/subpackage/test/__init__.py
+ root/package1/subpackage/test/subfoo_test.py # contains TestSubFoo.test\_feature
root/package2/... # with same structure as package1
Then (supposing the current directory is the parent of 'root/')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698