New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mutation-testing-metrics-scala

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mutation-testing-metrics-scala - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

12

CHANGELOG.md

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

# [1.6.0](https://github.com/stryker-mutator/mutation-testing-elements/compare/v1.5.2...v1.6.0) (2021-02-22)
### Features
* **metrics-scala:** add config to MutationTestResult ([#911](https://github.com/stryker-mutator/mutation-testing-elements/issues/911)) ([0497733](https://github.com/stryker-mutator/mutation-testing-elements/commit/0497733a2501bbe817d765a82a695d7650bb78e4))
* **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 +20,0 @@

4

package.json
{
"name": "mutation-testing-metrics-scala",
"version": "1.5.1",
"version": "1.6.0",
"description": "Zero-dependency library to calculate mutation testing metrics in Scala.",

@@ -20,3 +20,3 @@ "scripts": {

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

@@ -26,3 +26,5 @@ [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fmutation-testing-elements%2Fmaster%3Fmodule%3Dmetrics-scala)](https://badge-api.stryker-mutator.io/github.com/stryker-mutator/mutation-testing-elements/master?module=metrics-scala)

import mutationtesting._
val report = MutationTestResult(thresholds = Thresholds(high = 80, low = 10),
import io.circe.JsonObject
val report = MutationTestResult[JsonObject](thresholds = Thresholds(high = 80, low = 10),
files = Map(

@@ -39,3 +41,3 @@ "src/stryker4s/Stryker4s.scala" -> FileResult(

The `MutationTestResult` case classes generate a JSON compliant with the [mutation-testing JSON schema](https://github.com/stryker-mutator/mutation-testing-elements/blob/master/packages/mutation-testing-report-schema/src/mutation-testing-report-schema.json).
The `MutationTestResult` case classes generate a JSON compliant with the [mutation-testing JSON schema](https://github.com/stryker-mutator/mutation-testing-elements/blob/master/packages/mutation-testing-report-schema/src/mutation-testing-report-schema.json). It has a type parameter `[C]` for the type of the used configuration, which can be any JSON object.

@@ -78,3 +80,3 @@

val decoded: Either[io.circe.Error, MutationTestResult] = decode[MutationTestResult](encoded.toString)
val decoded: Either[io.circe.Error, MutationTestResult[JsonObject]] = decode[MutationTestResult[JsonObject]](encoded.toString)
```

@@ -81,0 +83,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc