Skip to content

Commit 39068c6

Browse files
author
Mike McCabe
committed
Update language
1 parent 8d9423a commit 39068c6

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
JSON Patch Tests
22
================
33

4-
These are test cases for implementations of the [IETF JSON Patch
5-
draft](http://tools.ietf.org/html/draft-ietf-appsawg-json-patch).
4+
These are test cases for implementations of [IETF JSON Patch (RFC6902)](http://tools.ietf.org/html/rfc6902).
5+
6+
Some implementations can be found at [jsonpatch.com](http://jsonpatch.com).
67

78

89
Test Format
@@ -21,7 +22,23 @@ test record is an object with the following members:
2122
All fields except 'doc' and 'patch' are optional. Test records consisting only
2223
of a comment are also OK.
2324

24-
These tests are not complete, or even correct - help welcome!
25+
26+
Writing Tests
27+
-------------
28+
29+
All tests should have a descriptive comment. Tests should be as
30+
simple as possible - just what's required to test a specific piece of
31+
behavior. If you want to test interacting behaviors, create tests for
32+
each behavior as well as the interaction.
33+
34+
If an 'error' member is specified, the error text should describe the
35+
error the implementation should raise - *not* what's being tested.
36+
Implementation error strings will vary, but the suggested error should
37+
be easily matched to the implementation error string. Try to avoid
38+
creating error tests that might pass because an incorrect error was
39+
reported.
40+
41+
Please feel free to contribute!
2542

2643

2744
Credits
@@ -35,7 +52,7 @@ extended by [Mike McCabe](https://github.com/mikemccabe).
3552
License
3653
-------
3754

38-
Copyright 2012 The Authors
55+
Copyright 2014 The Authors
3956

4057
Licensed under the Apache License, Version 2.0 (the "License");
4158
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)