Skip to content

Commit

Permalink
Update Markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 11, 2024
1 parent 6a25384 commit 9a2a944
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions site/docs/src/normalizer/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,66 @@
normalizer test --help
```

```console
Usage: normalizer test [-r|--rules FILE]

Run unit tests in given files with user-defined rules.

Available options:
-r,--rules FILE FILE with user-defined rules.
-h,--help Show this help text
```

### Run tests in a file

```$ as console
normalizer test --rules eo-phi-normalizer/test/eo/phi/rules/yegor.yaml
```

```console
User-defined rules unit tests
Rule set based on Yegor's draft
xi
Does not replace ξ inside a subformation [✔]
DOT
Should match [✔]
Shouldn't match [✔]
Shouldn't match [✔]
Should apply in subformations [✔]
Should respect surrounding context [✔]
DOTrho
Should match [✔]
phi
Attribute does not exist [✔]
Attribute exists [✔]
Both attributes do not exist [✔]
COPY
Should match [✔]
Should not match in subformations [✔]
COPY1
Should match first void attribute [✔]
COPY2
Should match positional arguments [✔]
EMPTY
Should match [✔]
Should not match [✔]
Should match in subformation [✔]
Should work with empty formation [✔]
OVER
Language.EO.Test.YamlSpec[21:13] [✔]
STOP
Accessing nonexistent attribute [✔]
MISS
Language.EO.Test.YamlSpec[21:13] [✔]
Should not match if attr is present [✔]
Should not match if phi is present [✔]
Should apply in subformations [✔]
DD
Dispatch on bottom is bottom [✔]
Dispatch on anything else is not touched [✔]
DC
Should apply in subformations [✔]

Finished in 0.0062 seconds
27 examples, 0 failures
```

0 comments on commit 9a2a944

Please sign in to comment.