Socket
Socket
Sign inDemoInstall

mutation-testing-report-schema

Package Overview
Dependencies
0
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.2 to 1.6.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.6.0](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.5.2...v1.6.0) (2021-02-22)
### Features
* **schema:** add test file source and status reason ([#893](https://github.com/stryker-mutator/mutation-testing-elements/issues/893)) ([9666408](https://github.com/stryker-mutator/mutation-testing-elements/commit/96664081945c0903816623afdf73fbe9cb517591)), closes [#891](https://github.com/stryker-mutator/mutation-testing-elements/issues/891) [#892](https://github.com/stryker-mutator/mutation-testing-elements/issues/892)
## [1.5.1](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.5.0...v1.5.1) (2020-12-23)

@@ -8,0 +19,0 @@

10

dist/src-generated/schema.d.ts

@@ -45,3 +45,3 @@ /**

/**
* Full source code of the mutated file, this is used for highlighting.
* Full source code of the original file (without mutants), this is used to display exactly what was changed for each mutant.
*/

@@ -89,2 +89,6 @@ source: string;

/**
* The reason that this mutant has this status. In the case of a killed mutant, this should be filled with the failure message(s) of the failing tests. In case of an error mutant, this should be filled with the error message.
*/
statusReason?: string;
/**
* The number of tests actually completed in order to test this mutant. Can differ from "coveredBy" because of bailing a mutant test run after first failing test.

@@ -118,2 +122,6 @@ */

export interface TestFile {
/**
* Full source code of the test file, this can be used to display in the report.
*/
source?: string;
tests: TestDefinition[];

@@ -120,0 +128,0 @@ }

@@ -95,2 +95,6 @@ export * from '../src-generated/schema';

};
statusReason: {
type: string;
description: string;
};
testsCompleted: {

@@ -121,2 +125,6 @@ type: string;

properties: {
source: {
description: string;
type: string;
};
tests: {

@@ -123,0 +131,0 @@ type: string;

@@ -94,2 +94,6 @@ {

},
"statusReason": {
"type": "string",
"description": "The reason that this mutant has this status. In the case of a killed mutant, this should be filled with the failure message(s) of the failing tests. In case of an error mutant, this should be filled with the error message."
},
"testsCompleted": {

@@ -103,3 +107,3 @@ "type": "number",

"source": {
"description": "Full source code of the mutated file, this is used for highlighting.",
"description": "Full source code of the original file (without mutants), this is used to display exactly what was changed for each mutant.",
"examples": ["using System; using....."],

@@ -121,2 +125,6 @@ "type": "string"

"properties": {
"source": {
"description": "Full source code of the test file, this can be used to display in the report.",
"type": "string"
},
"tests": {

@@ -123,0 +131,0 @@ "type": "array",

4

package.json
{
"name": "mutation-testing-report-schema",
"version": "1.5.2",
"version": "1.6.0",
"description": "The json schema for a mutation testing report.",

@@ -21,3 +21,3 @@ "main": "dist/src/index.js",

"homepage": "https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/mutation-testing-elements#readme",
"gitHead": "7995f03f14c8e9e80f090abdf44978b6ba47cf4e"
"gitHead": "242a4e31adc6131c10106b4846b0b66c9254e16c"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc