]> git.r.bdr.sh - rbdr/grafn/blame_incremental - doc/COVERAGE.md
Add Gitlab CI config
[rbdr/grafn] / doc / COVERAGE.md
... / ...
CommitLineData
1# TOC
2 - [test/graph.js](#testgraphjs)
3 - [It colorizes the graph based on execution results](#it-colorizes-the-graph-based-on-execution-results)
4
5
6<a name="testgraphjs"></a>
7# test/graph.js
8It throws an error if you try to run a non-existing vertex.
9
10
11It runs a vertex if no dependencies are defined.
12
13
14It does not run a vertex if it has unfulfilled dependencies.
15
16
17It runs dependent vertices on completion of a vertex's action.
18
19
20It ensures dependencies state is available before running dependents.
21
22
23It gives dependent vertices a state including their dependencies' results.
24
25
26It throws an error if a vertex throws an error.
27
28
29It runs a vertex only once.
30
31
32It can convert to a string representing the graph in graphviz format.
33
34
35<a name="it-colorizes-the-graph-based-on-execution-results"></a>
36## It colorizes the graph based on execution results
37It throws an error if a sub-step fails.
38
39
40It adds the right colors according to execution.
41
42
43
44ok - It colorizes the graph based on execution results
45
46ok - test/graph.js
47----------|----------|----------|----------|----------|-------------------|
48File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
49----------|----------|----------|----------|----------|-------------------|
50All files | 100 | 100 | 100 | 100 | |
51 graph.js | 100 | 100 | 100 | 100 | |
52----------|----------|----------|----------|----------|-------------------|