aspnet / JsonPatch

[Archived] JSON PATCH library. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
103 stars 48 forks source link

Reorganize tests and remove redundant integration tests #105

Closed jbagga closed 7 years ago

jbagga commented 7 years ago

The tests are organized in a confusing structure and not as we usually organize them. There are a lot of redundant integration tests and some adapters lack unit tests.

1. This test suite can be used to ensure we are spec compliant. It can either be used to generate test code or parsed and tested.

This PR adds a new adapter called DynamicObjectAdapter with unit tests and integration tests in a folder called IntegrationTests.

cc @rynowak

jbagga commented 7 years ago

ExpandoObjectAdapter was combined with DictionaryAdapter, so now it has unit tests. See this

PocoAdapter unit tests were added here

jbagga commented 7 years ago

PR #117 cover 2., 3. 4. and 5.

jbagga commented 7 years ago

Shelving 1. for now. See #121