You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(runner): add the standard result filters to results diff
`results diff` now accepts the same filter options as the other `results`
subcommands: `--status`, `-i/--include`, `-e/--exclude`, `-s/--suite`,
`-t/--test`, `-bl/--by-longname`, `-ebl/--exclude-by-longname`, plus
`--search` / `--search-regex`. Each filter is applied identically to
both baseline and current before the diff, so the comparison can be
scoped to a single suite, tag pattern, name, or message snippet:
```
robotcode results diff baseline.xml -s "MyProject.Login"
robotcode results diff baseline.xml -i smoke
robotcode results diff baseline.xml --search TimeoutError
robotcode results diff baseline.xml -bl "MyProject.Login.Bad Password"
```
`DiffResult` gains a `filtersApplied` field (additive, optional) so the
JSON output records the filters in the same shape used by the other
result models.
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, port.
836
+
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, port, pipe-server.
837
837
838
838
839
839
-`--pipe-server NAME`
840
840
841
-
Run in `pipe-server` mode and listen at the given pipe name. (Equivalent to `--mode pipe-server --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, tcp, port, bind.
841
+
Run in `pipe-server` mode and listen at the given pipe name. (Equivalent to `--mode pipe-server --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: port, bind, pipe-name, tcp, mode.
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: bind, tcp, pipe-server, port. [env var: ROBOTCODE_PIPE_NAME]
861
+
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: port, bind, tcp, pipe-server. [env var: ROBOTCODE_PIPE_NAME]
Run in `stdio` mode. (Equivalent to `--mode stdio`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, tcp, port, socket, pipe, bind. [env var: ROBOTCODE_STDIO]
888
+
Run in `stdio` mode. (Equivalent to `--mode stdio`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, pipe-name, tcp, pipe-server, mode. [env var: ROBOTCODE_STDIO]
889
889
890
890
891
891
-`--tcp [<ADDRESS>:]<PORT>`
892
892
893
-
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, port, socket, pipe, stdio.
893
+
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: port, socket, pipe, pipe-name, pipe-server, stdio, mode.
894
894
895
895
896
896
-`--socket [<ADDRESS>:]<PORT>`
897
897
898
-
Run in `socket` mode and connect to the given port. (Equivalent to `--mode socket --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, tcp, port, pipe, stdio.
898
+
Run in `socket` mode and connect to the given port. (Equivalent to `--mode socket --port <port>`) *NOTE:* This option is mutually exclusive with options: port, pipe, pipe-name, tcp, pipe-server, stdio, mode.
899
899
900
900
901
901
-`--pipe NAME`
902
902
903
-
Run in `pipe` mode and connect to the given pipe name. (Equivalent to `--mode pipe --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, tcp, port, socket, bind, stdio.
903
+
Run in `pipe` mode and connect to the given pipe name. (Equivalent to `--mode pipe --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe-name, tcp, pipe-server, stdio, mode.
904
904
905
905
906
906
-`--pipe-server NAME`
907
907
908
-
Run in `pipe-server` mode and listen at the given pipe name. (Equivalent to `--mode pipe-server --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, tcp, port, socket, pipe, bind, stdio.
908
+
Run in `pipe-server` mode and listen at the given pipe name. (Equivalent to `--mode pipe-server --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, pipe-name, tcp, stdio, mode.
909
909
910
910
911
911
-`--mode [stdio|tcp|socket|pipe|pipe_server]`
912
912
913
-
The mode to use for the debug launch server. *NOTE:* This option is mutually exclusive with options: tcp, pipe-server, socket, pipe, stdio. [env var: ROBOTCODE_MODE; default: STDIO]
913
+
The mode to use for the debug launch server. *NOTE:* This option is mutually exclusive with options: socket, pipe, tcp, pipe-server, stdio. [env var: ROBOTCODE_MODE; default: STDIO]
914
914
915
915
916
916
-`--port PORT`
917
917
918
-
The port to listen on or connect to. (Only valid for `tcp` and `socket mode`) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe-server, pipe. [env var: ROBOTCODE_PORT; default: 6611; 1<=x<=65535]
918
+
The port to listen on or connect to. (Only valid for `tcp` and `socket mode`) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe, pipe-server. [env var: ROBOTCODE_PORT; default: 6611; 1<=x<=65535]
919
919
920
920
921
921
-`--bind ADDRESS *`
922
922
923
-
Specify alternate bind address. If no address is specified `localhost` is used. (Only valid for tcp and socket mode) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe-server, pipe. [env var: ROBOTCODE_BIND; default: 127.0.0.1]
923
+
Specify alternate bind address. If no address is specified `localhost` is used. (Only valid for tcp and socket mode) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe, pipe-server. [env var: ROBOTCODE_BIND; default: 127.0.0.1]
924
924
925
925
926
926
-`--pipe-name NAME`
927
927
928
-
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: tcp, pipe-server, port, socket, pipe, bind, stdio. [env var: ROBOTCODE_PIPE_NAME]
928
+
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, tcp, pipe-server, stdio. [env var: ROBOTCODE_PIPE_NAME]
Run in `stdio` mode. (Equivalent to `--mode stdio`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, tcp, port, socket, pipe, bind. [env var: ROBOTCODE_STDIO]
1358
+
Run in `stdio` mode. (Equivalent to `--mode stdio`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, pipe-name, tcp, mode. [env var: ROBOTCODE_STDIO]
1359
1359
1360
1360
1361
1361
-`--tcp [<ADDRESS>:]<PORT>`
1362
1362
1363
-
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, port, socket, pipe, stdio.
1363
+
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: port, socket, pipe, pipe-name, stdio, mode.
1364
1364
1365
1365
1366
1366
-`--socket [<ADDRESS>:]<PORT>`
1367
1367
1368
-
Run in `socket` mode and connect to the given port. (Equivalent to `--mode socket --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, tcp, port, pipe, stdio.
1368
+
Run in `socket` mode and connect to the given port. (Equivalent to `--mode socket --port <port>`) *NOTE:* This option is mutually exclusive with options: port, pipe, pipe-name, tcp, stdio, mode.
1369
1369
1370
1370
1371
1371
-`--pipe NAME`
1372
1372
1373
-
Run in `pipe` mode and connect to the given pipe name. (Equivalent to `--mode pipe --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, tcp, port, socket, bind, stdio.
1373
+
Run in `pipe` mode and connect to the given pipe name. (Equivalent to `--mode pipe --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe-name, tcp, stdio, mode.
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: tcp, port, socket, pipe, bind, stdio. [env var: ROBOTCODE_PIPE_NAME]
1393
+
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, tcp, stdio. [env var: ROBOTCODE_PIPE_NAME]
Run in `stdio` mode. (Equivalent to `--mode stdio`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, tcp, port, socket, pipe, bind. [env var: ROBOTCODE_STDIO]
1635
+
Run in `stdio` mode. (Equivalent to `--mode stdio`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, pipe-name, tcp, pipe-server, mode. [env var: ROBOTCODE_STDIO]
1636
1636
1637
1637
1638
1638
-`--tcp [<ADDRESS>:]<PORT>`
1639
1639
1640
-
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, port, socket, pipe, stdio.
1640
+
Run in `tcp` server mode and listen at the given port. (Equivalent to `--mode tcp --port <port>`) *NOTE:* This option is mutually exclusive with options: port, socket, pipe, pipe-name, pipe-server, stdio, mode.
1641
1641
1642
1642
1643
1643
-`--socket [<ADDRESS>:]<PORT>`
1644
1644
1645
-
Run in `socket` mode and connect to the given port. (Equivalent to `--mode socket --port <port>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, tcp, port, pipe, stdio.
1645
+
Run in `socket` mode and connect to the given port. (Equivalent to `--mode socket --port <port>`) *NOTE:* This option is mutually exclusive with options: port, pipe, pipe-name, tcp, pipe-server, stdio, mode.
1646
1646
1647
1647
1648
1648
-`--pipe NAME`
1649
1649
1650
-
Run in `pipe` mode and connect to the given pipe name. (Equivalent to `--mode pipe --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, pipe-server, tcp, port, socket, bind, stdio.
1650
+
Run in `pipe` mode and connect to the given pipe name. (Equivalent to `--mode pipe --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe-name, tcp, pipe-server, stdio, mode.
1651
1651
1652
1652
1653
1653
-`--pipe-server NAME`
1654
1654
1655
-
Run in `pipe-server` mode and listen at the given pipe name. (Equivalent to `--mode pipe-server --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: pipe-name, mode, tcp, port, socket, pipe, bind, stdio.
1655
+
Run in `pipe-server` mode and listen at the given pipe name. (Equivalent to `--mode pipe-server --pipe-name <name>`) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, pipe-name, tcp, stdio, mode.
1656
1656
1657
1657
1658
1658
-`--mode [stdio|tcp|socket|pipe|pipe_server]`
1659
1659
1660
-
The mode to use for the debug launch server. *NOTE:* This option is mutually exclusive with options: tcp, pipe-server, socket, pipe, stdio. [env var: ROBOTCODE_MODE; default: STDIO]
1660
+
The mode to use for the debug launch server. *NOTE:* This option is mutually exclusive with options: socket, pipe, tcp, pipe-server, stdio. [env var: ROBOTCODE_MODE; default: STDIO]
1661
1661
1662
1662
1663
1663
-`--port PORT`
1664
1664
1665
-
The port to listen on or connect to. (Only valid for `tcp` and `socket mode`) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe-server, pipe. [env var: ROBOTCODE_PORT; default: 6601; 1<=x<=65535]
1665
+
The port to listen on or connect to. (Only valid for `tcp` and `socket mode`) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe, pipe-server. [env var: ROBOTCODE_PORT; default: 6601; 1<=x<=65535]
1666
1666
1667
1667
1668
1668
-`--bind ADDRESS *`
1669
1669
1670
-
Specify alternate bind address. If no address is specified `localhost` is used. (Only valid for tcp and socket mode) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe-server, pipe. [env var: ROBOTCODE_BIND; default: 127.0.0.1]
1670
+
Specify alternate bind address. If no address is specified `localhost` is used. (Only valid for tcp and socket mode) *NOTE:* This option is mutually exclusive with options: pipe-name, pipe, pipe-server. [env var: ROBOTCODE_BIND; default: 127.0.0.1]
1671
1671
1672
1672
1673
1673
-`--pipe-name NAME`
1674
1674
1675
-
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: tcp, pipe-server, port, socket, pipe, bind, stdio. [env var: ROBOTCODE_PIPE_NAME]
1675
+
The pipe to listen on or connect to. (Only valid in `pipe` and `pipe-server` mode) *NOTE:* This option is mutually exclusive with options: port, bind, socket, pipe, tcp, pipe-server, stdio. [env var: ROBOTCODE_PIPE_NAME]
Include tests matching the tag pattern. Supports Robot's tag pattern syntax (AND, OR, NOT, *, ?).
1820
+
1821
+
1822
+
-`-e, --exclude TAG_PATTERN *`
1823
+
1824
+
Exclude tests matching the tag pattern. Same syntax as --include.
1825
+
1826
+
1827
+
-`-s, --suite NAME *`
1828
+
1829
+
Only include tests inside the named suite (glob against full suite name).
1830
+
1831
+
1832
+
-`-t, --test, --task NAME *`
1833
+
1834
+
Only include tests whose name matches (glob against full test name). `--task` is an alias for `--test` (Robot's RPA terminology).
1835
+
1836
+
1837
+
-`-bl, --by-longname NAME *`
1838
+
1839
+
Select tests/tasks or suites by long name (exact match).
1840
+
1841
+
1842
+
-`-ebl, --exclude-by-longname NAME *`
1843
+
1844
+
Exclude tests/tasks or suites by long name (exact match).
1845
+
1846
+
1847
+
-`--search TEXT`
1848
+
1849
+
Only include tests with at least one case-insensitive substring match against TEXT. Searches test name, full name, failure message, tags, keyword names, keyword arguments, and log messages. Mutually exclusive with `--search-regex`.
1850
+
1851
+
1852
+
-`--search-regex PATTERN`
1853
+
1854
+
Only include tests with at least one match against PATTERN (Python regular expression, case-sensitive — prefix with `(?i)` for case-insensitive). Same target fields as `--search`. Mutually exclusive with `--search`.
1855
+
1856
+
1810
1857
-`--full-paths / --no-full-paths`
1811
1858
1812
1859
Show absolute source paths instead of paths relative to cwd. [default: no-full-paths]
0 commit comments