Skip to content

Releases: open-rpc/test-coverage

2.2.4

23 Aug 18:51
01a6a75
Compare
Choose a tag to compare

2.2.4 (2024-08-23)

Bug Fixes

  • html reporter should use options.destination if passed in (c594a86)

2.2.3

23 Aug 16:15
6e16852
Compare
Choose a tag to compare

2.2.3 (2024-08-23)

Bug Fixes

  • added test for error case (d52c3ce)
  • added test to handle error case (8d344e8)
  • meta-schema version + fix valid setting on errors in example rule (027d3d0)
  • set valid false for exampleRule for else case (b2d0f2a)
  • tests for json schema faker (5e82628)
  • types (65158b4)

2.2.2

24 Apr 16:41
709a74f
Compare
Choose a tag to compare

2.2.2 (2024-04-24)

Bug Fixes

  • add tests for coverage (e7de2de)
  • dont override reason when catching ajv call in example rule (11a273d)
  • example rule now falls back to ajv to check the result against the schema (3bbdde6)

2.2.1

19 Apr 18:43
9dded0e
Compare
Choose a tag to compare

2.2.1 (2024-04-19)

Bug Fixes

2.2.0

19 Apr 13:43
b376713
Compare
Choose a tag to compare

2.2.0 (2024-04-19)

Bug Fixes

  • add docs to README about rule and reporter (7412a21)

Features

  • added html reporter that uses @open-rpc/html-reporter-react (62ea52d)

2.1.0

15 Apr 17:58
9f70407
Compare
Choose a tag to compare

2.1.0 (2024-04-15)

Bug Fixes

  • add comment about why transport isnt awaited right away (8ab89f2)
  • add getExampleCalls to JsonSchemaFaker tests to get more coverage (c16275d)
  • add json-schema-faker-rule to multi rule test to get more coverage (5239a69)
  • add lifecycle call for onEnd for rules (f49d841)
  • add timings and fix some issues with json schema faker rule (9e21491)
  • added error to console reporter when result isnt defined (081b85f)
  • added json-schema-faker-rule with skip and only variations to get coverage (ffe5a3c)
  • added test for rules and running multiple rules and their async lifecycle functions (fa5d7a8)
  • added tests to get coverage for JsonSchemaFakerRule (9cc9b7a)
  • call to validateExampleCall shouldnt be checking existence (9cafb76)
  • comment about lifecycle methods (f99feef)
  • issue with not passing any rules into coverage (7fe84f8)
  • lifecycle methods are optional (667fdd2)
  • make lifecycle methods optional in interface + try/catch in json-schema-faker-rule (a962046)
  • move call for validateExampleCall (820d48e)
  • refactor exampleCall name to Call (20dfa82)
  • refactor getExampleCalls to allow for it to be sync or async (ee334de)
  • remove unused code (4a29270)
  • remove wrapping parens from test (8f2d69d)
  • test call casing (89cc08c)
  • test called times after json schema faker rule fix (cc53ffc)
  • update src/rules/rule.ts (8c03203)
  • variable names for reporter for Call (6a43d9f)

Features

  • add the concept of rules and refactor existing code into rules (60dee4f)
  • refactor into rules and fix lifecycle (3416fdc)

2.0.0

10 Apr 17:15
4925105
Compare
Choose a tag to compare

2.0.0 (2024-04-10)

Bug Fixes

Features

  • added mulitple reporters feature (843246d)

BREAKING CHANGES

  • reporter option is now reporters and can handle multiple reporters

1.3.0

10 Apr 13:43
ed3812c
Compare
Choose a tag to compare

1.3.0 (2024-04-10)

Bug Fixes

Features

  • refactor reporter interface (1c73d12)

1.2.0

28 Mar 15:48
65d5da0
Compare
Choose a tag to compare

1.2.0 (2024-03-28)

Features

  • allow transport passed + added raw json reporter (cb65fae)

1.1.1

20 Mar 17:11
2f565e0
Compare
Choose a tag to compare

1.1.1 (2024-03-20)

Bug Fixes

  • update schema-utils-js to latest (42bb3b3)