@testream/mocha-reporter 1.0.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/LICENSE ADDED
@@ -0,0 +1,30 @@
1
+ Proprietary License
2
+
3
+ Copyright (c) 2026 Testream Team. All rights reserved.
4
+
5
+ This software and associated documentation files (the "Software") are licensed,
6
+ not sold, to you for use only under the terms of this license.
7
+
8
+ GRANT OF LICENSE:
9
+ You are granted a non-exclusive, non-transferable license to use the Software
10
+ solely for the purpose of integrating test result reporting with the Testream service.
11
+
12
+ RESTRICTIONS:
13
+ - You may not modify, adapt, or create derivative works of the Software
14
+ - You may not distribute, sublicense, lease, or rent the Software
15
+ - You may not reverse engineer, decompile, or disassemble the Software
16
+ - The Software may only be used in conjunction with the Testream service
17
+
18
+ OWNERSHIP:
19
+ The Software is licensed, not sold. This license does not grant you any rights
20
+ to trademarks or service marks.
21
+
22
+ TERMINATION:
23
+ This license is effective until terminated. Your rights under this license will
24
+ terminate automatically without notice if you fail to comply with any term of
25
+ this license.
26
+
27
+ DISCLAIMER:
28
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # @testream/mocha-reporter
2
+
3
+ Bridges Mocha test runs from your codebase into Jira with Testream. Once configured, it uploads results automatically.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ npm install --save-dev @testream/mocha-reporter
9
+ ```
10
+
11
+ ```javascript
12
+ // .mocharc.js
13
+ module.exports = {
14
+ reporter: '@testream/mocha-reporter',
15
+ 'reporter-option': [
16
+ `apiKey=${process.env.TESTREAM_API_KEY}`,
17
+ 'uploadEnabled=true',
18
+ ],
19
+ };
20
+ ```
21
+
22
+ Need more configuration options? See the full guide at https://testream.github.io/docs/reporters/mocha.
@@ -0,0 +1,8 @@
1
+ # Third-Party Notices
2
+
3
+ ## mocha-ctrf-json-reporter
4
+
5
+ - Package: `mocha-ctrf-json-reporter`
6
+ - Repository: https://github.com/ctrf-io/mocha-ctrf-json-reporter
7
+ - License: MIT
8
+ - License URL: https://github.com/ctrf-io/mocha-ctrf-json-reporter/blob/main/LICENSE
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @testream/mocha-reporter
3
+ *
4
+ * Mocha reporter that generates CTRF-format test reports and
5
+ * automatically uploads them to the Testream backend.
6
+ */
7
+ import { TestreamMochaReporter } from './reporter';
8
+ export = TestreamMochaReporter;