faf-taf-git 2.4.0 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -1
- package/README.md +1 -1
- package/RECEIPT-FORMAT.md +1 -1
- package/dist/cli.d.ts +5 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +14 -1
- package/dist/cli.js.map +1 -1
- package/package.json +15 -2
- package/project.faf +32 -242
- package/.faf-dna +0 -95
- package/.fafignore +0 -41
- package/.github/dependabot.yml +0 -10
- package/.github/workflows/ci.yml +0 -53
- package/.github/workflows/claude-code-review.yml +0 -36
- package/.github/workflows/claude.yml +0 -39
- package/.github/workflows/homebrew.yml +0 -19
- package/.taf +0 -98
- package/CLAUDE.md +0 -38
- package/CODE_OF_CONDUCT.md +0 -21
- package/CONTRIBUTING.md +0 -289
- package/SECURITY.md +0 -19
- package/action.yml +0 -50
- package/agent.fafa +0 -53
- package/badge.svg +0 -21
- package/dist/bundle/index.js +0 -36554
- package/dist/index.js +0 -42827
- package/dist/index.js.map +0 -1
- package/dist/licenses.txt +0 -126
- package/dist/sourcemap-register.js +0 -1
- package/docs/RELEASE-NOTES.md +0 -200
- package/docs/USER-GUIDE.md +0 -301
- package/jest.config.js +0 -13
- package/src/badge.ts +0 -138
- package/src/cli.ts +0 -297
- package/src/index.ts +0 -201
- package/src/parsers/bun.ts +0 -103
- package/src/parsers/index.ts +0 -50
- package/src/parsers/jest.ts +0 -104
- package/src/parsers/junit.ts +0 -110
- package/src/parsers/vitest.ts +0 -65
- package/src/parsers/wjttc.ts +0 -160
- package/src/taf-core.ts +0 -139
- package/test-mcp.ts +0 -83
- package/test-standalone.ts +0 -87
- package/tests/action-bundle.test.ts +0 -34
- package/tests/action-parse-error.test.ts +0 -47
- package/tests/badge.test.ts +0 -260
- package/tests/bun-parser.test.ts +0 -173
- package/tests/jest-parser.test.ts +0 -122
- package/tests/junit-parser.test.ts +0 -109
- package/tests/vitest-parser.test.ts +0 -112
- package/tests/wjttc-parser.test.ts +0 -116
- package/tests/wjttc-taf.test.ts +0 -470
- package/tsconfig.json +0 -18
package/agent.fafa
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
agent:
|
|
3
|
-
name: faf-taf-git
|
|
4
|
-
displayName: faf-taf-git
|
|
5
|
-
id: urn:air:faf.one:agent:faf-taf-git
|
|
6
|
-
version: 2.4.0
|
|
7
|
-
description: "A Test Receipt Printer for git: each CI run appends a receipt with the test counts and result to a .taf file kept in git."
|
|
8
|
-
homepage: https://faf.one
|
|
9
|
-
capabilities:
|
|
10
|
-
- name: Print a receipt
|
|
11
|
-
type: tool
|
|
12
|
-
description: Append one Test Receipt (timestamp, counts, result, trigger) to .taf on each CI run
|
|
13
|
-
tags:
|
|
14
|
-
- print a receipt
|
|
15
|
-
- name: Read test output
|
|
16
|
-
type: tool
|
|
17
|
-
description: Parse Jest, Vitest, Bun and WJTTC test output into passed, failed and total
|
|
18
|
-
tags:
|
|
19
|
-
- read test output
|
|
20
|
-
- name: Receipts branch
|
|
21
|
-
type: tool
|
|
22
|
-
description: Push receipts to a dedicated branch such as taf-receipts, created on the first run
|
|
23
|
-
tags:
|
|
24
|
-
- receipts branch
|
|
25
|
-
- name: Auto-commit
|
|
26
|
-
type: tool
|
|
27
|
-
description: Commit the .taf update from CI, with an optional custom message
|
|
28
|
-
tags:
|
|
29
|
-
- auto-commit
|
|
30
|
-
- name: Badge
|
|
31
|
-
type: tool
|
|
32
|
-
description: Generate an SVG badge from the latest receipt in .taf
|
|
33
|
-
tags:
|
|
34
|
-
- badge
|
|
35
|
-
- name: Action outputs
|
|
36
|
-
type: tool
|
|
37
|
-
description: Expose result, passed, failed, total and taf-updated to later workflow steps
|
|
38
|
-
tags:
|
|
39
|
-
- action outputs
|
|
40
|
-
endpoints:
|
|
41
|
-
- protocol: github-action
|
|
42
|
-
transport: http
|
|
43
|
-
location: Wolfe-Jam/faf-taf-git
|
|
44
|
-
metadata:
|
|
45
|
-
cards:
|
|
46
|
-
domain: faf.one
|
|
47
|
-
examples:
|
|
48
|
-
- How do I keep a record of my test results on every CI run?
|
|
49
|
-
- How do I add Test Receipts to a GitHub Actions workflow?
|
|
50
|
-
- How do I make a test badge from my .taf history?
|
|
51
|
-
packages:
|
|
52
|
-
- registryType: npm
|
|
53
|
-
identifier: faf-taf-git
|
package/badge.svg
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="145" height="20" role="img" aria-label="TAF: 55/55 passing">
|
|
2
|
-
<title>TAF: 55/55 passing</title>
|
|
3
|
-
<linearGradient id="s" x2="0" y2="100%">
|
|
4
|
-
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
|
|
5
|
-
<stop offset="1" stop-opacity=".1"/>
|
|
6
|
-
</linearGradient>
|
|
7
|
-
<clipPath id="r">
|
|
8
|
-
<rect width="145" height="20" rx="3" fill="#fff"/>
|
|
9
|
-
</clipPath>
|
|
10
|
-
<g clip-path="url(#r)">
|
|
11
|
-
<rect width="40" height="20" fill="#555"/>
|
|
12
|
-
<rect x="40" width="105" height="20" fill="#003366"/>
|
|
13
|
-
<rect width="145" height="20" fill="url(#s)"/>
|
|
14
|
-
</g>
|
|
15
|
-
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="11">
|
|
16
|
-
<text x="20" y="14" fill="#010101" fill-opacity=".3">TAF</text>
|
|
17
|
-
<text x="20" y="13" fill="#fff">TAF</text>
|
|
18
|
-
<text x="92.5" y="14" fill="#010101" fill-opacity=".3">55/55 passing</text>
|
|
19
|
-
<text x="92.5" y="13" fill="#fff">55/55 passing</text>
|
|
20
|
-
</g>
|
|
21
|
-
</svg>
|