Skip to content

Commit ca23970

Browse files
committed
Tweaked formatting.
1 parent f532bac commit ca23970

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Postman Utilities Library
2-
This repo holds the [utils](utils.js) JavaScript class that can simplify and reduce [Postman](https://www.postman.com/) test and pre-request code.
2+
This repo holds the [`utils`](utils.js) JavaScript class that can simplify and reduce [Postman](https://www.postman.com/) test and pre-request code.
33

44
## Overview
55
The `utils` library is a simple JavaScript object that, when included in a collection folder's pre-request script, will be available to all scripts called after it. The object exposes various functions intended to make Postman tests shorter, simpler and more consistent.
66

77
## Usage
8-
To use the `utils` library, copy the [utils.js](utils.js) source code and paste it in the pre-request script of the test collection's root folder. Then you can call the `utils` functions from anywhere in the test code base.
8+
To use the `utils` library, copy the [`utils.js`](utils.js) source code and paste it in the pre-request script of the test collection's root folder. Then you can call the `utils` functions from anywhere in the test code base.
99

1010
The `utils` source code comments explain how to use the library, but a more detailed description is provided here.
1111

@@ -36,9 +36,9 @@ Use folder level functions to run test or pre-request code attached to test coll
3636

3737
Folder level functions are grouped under the `utils.run` namespace and include:
3838

39-
* [utils.run.once](#utilsrunonce):
39+
* [`utils.run.once`](#utilsrunonce):
4040
Invokes code in the specified custom inline function once per test collection run.
41-
* [utils.run.always](#utilsrunalways):
41+
* [`utils.run.always`](#utilsrunalways):
4242
Invokes code in the specified custom inline function for every request during test collection run.
4343

4444
### Parameters
@@ -90,13 +90,13 @@ utils.run.always(pm, "Client_Credentials_Flow_Tests", function() {
9090

9191
## Primary test functions
9292
Use primary test functions to initialize and execute tests. Primary test functions are grouped under the `utils.test` namespace and include:
93-
* [utils.test.initialize](#utilstestinitialize):
93+
* [`utils.test.initialize`](#utilstestinitialize):
9494
Use to initialize request data in pre-request scripts.
95-
* [utils.test.positive](#utilstestpositive):
95+
* [`utils.test.positive`](#utilstestpositive):
9696
Use to execute positive tests.
97-
* [utils.test.negative](#utilstestnegative):
97+
* [`utils.test.negative`](#utilstestnegative):
9898
Use to execute negative tests.
99-
* [utils.test.neutral](#utilstestneutral):
99+
* [`utils.test.neutral`](#utilstestneutral):
100100
Use if you need to execute additional tests that must run separately from the primary (positive or negative) test defined for a request.
101101

102102
### Parameters

0 commit comments

Comments
 (0)