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

Unified Diff: docs/running_chrome_ui_tests.md

Issue 1309473002: WIP: Migrate Wiki content over to src/docs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
Index: docs/running_chrome_ui_tests.md
diff --git a/docs/running_chrome_ui_tests.md b/docs/running_chrome_ui_tests.md
new file mode 100644
index 0000000000000000000000000000000000000000..e86885d22b67d01284455aae0be56435d5bb13b7
--- /dev/null
+++ b/docs/running_chrome_ui_tests.md
@@ -0,0 +1,26 @@
+_**NOTE: These directions seem to be incomplete or out of date. The test binaries are all in out/Debug (for Debug builds using Ninja). See http://crbug.com/95848**_
Bons 2015/08/20 20:16:50 delete due to out of date content?
+
+# Running Chrome tests
+
+Our unit tests and integration tests use GTest (http://code.google.com/p/googletest/).
+
+ * to run the tests exactly as the buildbot does, use `src/chrome/tools/test/smoketests.py` (run it using the copy of Python in third\_party)
+ * to run a specific test, start the binary with a command line `--gtest_filter=TestGroupName.TestName`
+ * for example: `--gtest_filter=IPCMessageTest.Resize`
+ * to run all the tests in a group, use `--gtest_filter=Automation*`
+ * to run all the tests with the same name from all groups, use `--gtest_filter=*.Crash`
+ * Multiple filters can be specified; separator is the colon (:). `--gtest_filter=TestA.*:TestB.*`
+ * to see all the tests, use `--gtest_list_tests`
+
+
+---
+
+_**NOTE: These directions seem out of date too. You may try following http://dev.chromium.org/developers/testing for installing the test root CA.**_
+
+Note that in order to run successfully, the SSL browser tests require you to import the test root CA certificate to your trusted root CA store. The instructions for Windows XP are:
+ * double-click the test root CA certificate file (http://src.chromium.org/viewvc/chrome/trunk/tools/buildbot/config/slave/cert/), this opens the Certificate Windows dialog
+ * click Install Certificate
+ * click Next
+ * select the option 'Place all certificate in the following store'
+ * click Browse.., select 'Trusted Root Certificate Authorities', click OK
+ * click Next and Finish

Powered by Google App Engine
This is Rietveld 408576698