[Groonga-commit] groonga/grntest [master] Add document about --test option

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 12 12:59:12 JST 2012


Kouhei Sutou	2012-10-12 12:59:12 +0900 (Fri, 12 Oct 2012)

  New Revision: 442c45989d1b347b54acecb31e849a943d46b691
  https://github.com/groonga/grntest/commit/442c45989d1b347b54acecb31e849a943d46b691

  Log:
    Add document about --test option

  Modified files:
    README.md

  Modified: README.md (+42 -0)
===================================================================
--- README.md    2012-10-12 12:58:50 +0900 (e33585b)
+++ README.md    2012-10-12 12:59:12 +0900 (237a939)
@@ -367,6 +367,48 @@ by `grntest --help`. You will find many usuful features from it.
 
 ### `--test`
 
+Usage:
+
+```
+% grntest --test TEST_NAME ...
+% grntest --test /TEST_NAME_REGEXP/ ...
+% grntest --test TEST_NAME1 --test TEST_NAME2 ...
+% grntest --test /TEST_NAME_REGEXP1/ --test /TEST_NAME_REGEXP2/ ...
+```
+
+`--test` option specifies tests that should be ran. It is useful when
+you are interested in only one test.
+
+For example, the following command line runs only `vector-geo-point`
+test.
+
+```
+% grntest --test vector-geo-point ...
+```
+
+You can use `--test` option multiple times to run only multiple
+interested tests.
+
+For example, the following command line runs only `vector-geo-point`
+and `hash` tests.
+
+```
+% grntest --test vector-geo-point --test hash ...
+```
+
+You can use regular expression to select tests by `/.../` syntax.
+
+For example, the following command line runs tests that have `geo` in
+its name.
+
+```
+% grntest --test /geo/ ...
+```
+
+You can also use multiple --test options with regular expression.
+
+See also: `--exclude-test` option
+
 ### `--exclude-test`
 
 ### `--test-suite`
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index