Skip to content

Full coverage for tests from JSON-RPC specification #6

@omarjatoi

Description

@omarjatoi

I added a first pass at the test suite, but some of the tests currently do not pass. There are also some tests missing:

The following tests are disabled because they are broken. They need to be fixed (likely in the client code to add some validations around parsing etc.) https://github.com/omarjatoi/json-rpc/blob/a14cc782d382e8dd0daf57356dfd3e3bba164095/test/json_rpc_test.erl#L69-L73

  • test_invalid_json
  • test_invalid_request_object
  • test_batch_invalid_json
  • test_empty_array
  • test_invalid_batch

The following tests are defined in the JSON-RPC 2.0 specification but not currently implemented:

  • rpc call with named parameters

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttestsImprovements, fixes, or additions to the test suite.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions