@testream/dotnet-reporter 0.4.6 → 0.5.0
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/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +256 -175
- package/dist/index.js.map +1 -1
- package/dist/uploader.d.ts +2 -30
- package/dist/uploader.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/uploader.d.ts
CHANGED
|
@@ -1,34 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/**
|
|
3
|
-
* Logger interface for output
|
|
4
|
-
*/
|
|
5
|
-
export interface Logger {
|
|
6
|
-
info(message: string): void;
|
|
7
|
-
warning(message: string): void;
|
|
8
|
-
error(message: string): void;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Default console logger
|
|
12
|
-
*/
|
|
13
|
-
export declare const defaultLogger: Logger;
|
|
14
|
-
export interface UploadToApiOptions {
|
|
15
|
-
report: CTRFReport;
|
|
16
|
-
projectKey: string;
|
|
17
|
-
apiKey: string;
|
|
18
|
-
commitSha?: string;
|
|
19
|
-
branch?: string;
|
|
20
|
-
repositoryUrl?: string;
|
|
21
|
-
buildName?: string;
|
|
22
|
-
buildNumber?: string;
|
|
23
|
-
buildUrl?: string;
|
|
24
|
-
testEnvironment?: string;
|
|
25
|
-
appName?: string;
|
|
26
|
-
appVersion?: string;
|
|
27
|
-
testType?: string;
|
|
28
|
-
logger?: Logger;
|
|
29
|
-
}
|
|
1
|
+
import { UploadResult, detectCIContext, UploadTestRunOptions } from '@jira-test-manager/shared-types';
|
|
30
2
|
/**
|
|
31
3
|
* Upload CTRF report to Testream API
|
|
32
4
|
*/
|
|
33
|
-
export declare function uploadToApi(options:
|
|
5
|
+
export declare function uploadToApi(options: UploadTestRunOptions): Promise<UploadResult>;
|
|
34
6
|
export declare const detectGitContext: typeof detectCIContext;
|
package/dist/uploader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/jira-test-manager/jira-test-manager/packages/dotnet-reporter/src/uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"","sourceRoot":"","sources":["file:///home/runner/work/jira-test-manager/jira-test-manager/packages/dotnet-reporter/src/uploader.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,eAAe,EAEf,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,wBAAsB,WAAW,CAAC,OAAO,EAAE,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC,CAetF;AAGD,eAAO,MAAM,gBAAgB,wBAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testream/dotnet-reporter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "CLI to upload .NET test results (xUnit, NUnit, MSTest) to Testream",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@jira-test-manager/shared-types": "*",
|
|
49
|
+
"@types/glob": "^8.1.0",
|
|
49
50
|
"@types/node": "^20.10.6",
|
|
50
51
|
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
|
51
52
|
"@typescript-eslint/parser": "^6.17.0",
|