Skip to content

Commit ca977be

Browse files
authored
CSHARP-4792: Verify that delimiting slash bewteen hosts and options is optional. (#1182)
1 parent 13267f8 commit ca977be

File tree

13 files changed

+1413
-1337
lines changed

13 files changed

+1413
-1337
lines changed

specifications/connection-string/tests/README.rst

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -12,41 +12,11 @@ a warning on repeated option keys. As such these YAML tests are in no way a
1212
replacement for more thorough testing. However, they can provide an initial
1313
verification of your implementation.
1414

15-
Converting to JSON
16-
------------------
17-
18-
The tests are written in YAML because it is easier for humans to write and read,
19-
and because YAML includes a standard comment format. A JSONified version of each
20-
YAML file is included in this repository. Whenever you change the YAML,
21-
re-convert to JSON. One method to convert to JSON is with
22-
`jsonwidget-python <http://jsonwidget.org/wiki/Jsonwidget-python>`_::
23-
24-
pip install PyYAML urwid jsonwidget
25-
make
26-
27-
Or instead of "make"::
28-
29-
for i in `find . -iname '*.yml'`; do
30-
echo "${i%.*}"
31-
jwc yaml2json $i > ${i%.*}.json
32-
done
33-
34-
Alternatively, you can use `yamljs <https://www.npmjs.com/package/yamljs>`_::
35-
36-
npm install -g yamljs
37-
yaml2json -s -p -r .
38-
3915
Version
4016
-------
4117

4218
Files in the "specifications" repository have no version scheme. They are not
43-
tied to a MongoDB server version, and it is our intention that each
44-
specification moves from "draft" to "final" with no further versions; it is
45-
superseded by a future spec, not revised.
46-
47-
However, implementers must have stable sets of tests to target. As test files
48-
evolve they will be occasionally tagged like "uri-tests-tests-2015-07-16", until
49-
the spec is final.
19+
tied to a MongoDB server version.
5020

5121
Format
5222
------
@@ -72,7 +42,7 @@ array of test case objects, each of which have the following keys:
7242
(as discussed in `RFC 2396 <https://www.ietf.org/rfc/rfc2396.txt>`_).
7343
- ``password``: A string containing the parsed password.
7444
- ``db``: A string containing the parsed authentication database. For legacy
75-
implementations that support namespaces (databases and collections) this may
45+
implementations that support namespaces (databases and collections) this may
7646
be the full namespace eg: ``<db>.<coll>``
7747
- ``options``: An object containing key/value pairs for each parsed query string
7848
option.

0 commit comments

Comments
 (0)