Skip to content

Commit 901d38f

Browse files
author
Oleksandr Poliakov
committed
CSHARP-4448: Implement OIDC SASL mechanism
1 parent b405b88 commit 901d38f

File tree

60 files changed

+3778
-804
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+3778
-804
lines changed

specifications/auth/tests/README.rst

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
==========
1+
==========
22
Auth Tests
33
==========
44

5-
The YAML and JSON files in this directory tree are platform-independent tests
6-
that drivers can use to prove their conformance to the Auth Spec at least with
7-
respect to connection string URI input.
5+
Introduction
6+
============
7+
8+
This document describes the format of the driver spec tests included in the
9+
JSON and YAML files included in the ``legacy`` sub-directory. Tests in the
10+
``unified`` directory are written using the `Unified Test Format
11+
<../../unified-test-format/unified-test-format.rst>`_.
12+
13+
The YAML and JSON files in the ``legacy`` directory tree are
14+
platform-independent tests that drivers can use to prove their conformance to
15+
the Auth Spec at least with respect to connection string URI input.
816

917
Drivers should do additional unit testing if there are alternate ways of
1018
configuring credentials on a client.
1119

1220
Driver must also conduct the prose tests in the Auth Spec test plan section.
1321

1422
Format
15-
------
23+
======
1624

1725
Each YAML file contains an object with a single ``tests`` key. This key is an
1826
array of test case objects, each of which have the following keys:
@@ -50,4 +58,4 @@ Testing whether a URI is valid or not should simply be a matter of checking
5058
whether URI parsing (or MongoClient construction) raises an error or exception.
5159

5260
If a credential is configured, its properties must be compared to the
53-
``credential`` field.
61+
``credential`` field.

0 commit comments

Comments
 (0)