Skip to content

Improve multi-segment Utf8JsonReader test coverage for ReadOnlySequence #27949

Closed

Description

@ahsonkhan

In particular:

  • Add more tests for various sequence segment sizes with invalid JSON.
  • Add tests with valid comments that can be skipped or allowed.

Borrow the tests for the span-based Utf8JsonReader as a starting point.

Multi-segment support added here: dotnet/corefx#33462

Activity

  1. transferred this issue fromdotnet/corefxon Jan 31, 2020
  2. added this to the Future milestone on Jan 31, 2020
  3. marcusturewicz commented on Apr 7, 2020

    @marcusturewicz
    Contributor

    I'd like to take this one. What sequence sizes should I use? And could you elaborate on the second point about comments?

  4. GSPP commented on Oct 21, 2021

    @GSPP

    @eiriktsarpalis found another one from this series of issues.

  5. eiriktsarpalis commented on Oct 21, 2021

    @eiriktsarpalis
    Member

    I'd be inclined to close this as a duplicate of #30706 and #30751, since they define more actionable test cases to be incorporated.

  6. ghost locked as resolved and limited conversation to collaborators on Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Text.Jsonbacklog-cleanup-candidateAn inactive issue that has been marked for automated closure.help wanted[up-for-grabs] Good issue for external contributorsincrease-code-coverageTracking need to add more test and increase code coverage of a componenttest-enhancementImprovements of test source code

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions