OLD | NEW |
---|---|
(Empty) | |
1 _**NOTE: These directions seem to be incomplete or out of date. The test binarie s are all in out/Debug (for Debug builds using Ninja). See http://crbug.com/9584 8**_ | |
Bons
2015/08/20 20:16:50
delete due to out of date content?
| |
2 | |
3 # Running Chrome tests | |
4 | |
5 Our unit tests and integration tests use GTest (http://code.google.com/p/googlet est/). | |
6 | |
7 * to run the tests exactly as the buildbot does, use `src/chrome/tools/test/sm oketests.py` (run it using the copy of Python in third\_party) | |
8 * to run a specific test, start the binary with a command line `--gtest_filter =TestGroupName.TestName` | |
9 * for example: `--gtest_filter=IPCMessageTest.Resize` | |
10 * to run all the tests in a group, use `--gtest_filter=Automation*` | |
11 * to run all the tests with the same name from all groups, use `--gtest_filter =*.Crash` | |
12 * Multiple filters can be specified; separator is the colon (:). `--gtest_filt er=TestA.*:TestB.*` | |
13 * to see all the tests, use `--gtest_list_tests` | |
14 | |
15 | |
16 --- | |
17 | |
18 _**NOTE: These directions seem out of date too. You may try following http://dev .chromium.org/developers/testing for installing the test root CA.**_ | |
19 | |
20 Note that in order to run successfully, the SSL browser tests require you to imp ort the test root CA certificate to your trusted root CA store. The instruction s for Windows XP are: | |
21 * double-click the test root CA certificate file (http://src.chromium.org/view vc/chrome/trunk/tools/buildbot/config/slave/cert/), this opens the Certificate W indows dialog | |
22 * click Install Certificate | |
23 * click Next | |
24 * select the option 'Place all certificate in the following store' | |
25 * click Browse.., select 'Trusted Root Certificate Authorities', click OK | |
26 * click Next and Finish | |
OLD | NEW |