File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -110,3 +110,56 @@ new TestDataBuilder()
110110 // context.notification
111111 });
112112```
113+
114+ ## Function reference
115+
116+ LoopBack Testing (lt):
117+ ===
118+
119+ * ` describe `
120+ * ` it `
121+ * ` beforeEach `
122+ * ` TestDataBuilder `
123+
124+ ` lt.describe ` :
125+ ----
126+
127+ * ` staticMethod `
128+ * ` instanceMethod `
129+ * ` whenCalledRemotely `
130+ * ` whenLoggedInAsUser `
131+ * ` whenLoggedInAsUserWithRole `
132+ * ` whenCalledByUser `
133+ * ` whenCalledByUserWithRole `
134+ * ` whenCalledAnonymously `
135+ * ` whenCalledUnauthenticated `
136+
137+ ` lt.it ` :
138+ ----
139+
140+ * ` shouldBeAllowed `
141+ * ` shouldBeDenied `
142+ * ` shouldNotBeFound `
143+ * ` shouldBeForbidden `
144+ * ` shouldBeRejected `
145+ * ` shouldBeAllowedWhenCalledAnonymously `
146+ * ` shouldBeDeniedWhenCalledAnonymously `
147+ * ` shouldBeAllowedWhenCalledUnauthenticated `
148+ * ` shouldBeDeniedWhenCalledUnauthenticated `
149+ * ` shouldBeAllowedWhenCalledByUser `
150+ * ` shouldBeDeniedWhenCalledByUser `
151+ * ` shouldBeAllowedWhenCalledByUserWithRole `
152+ * ` shouldBeDeniedWhenCalledByUserWithRole `
153+
154+ ` lt.beforeEach ` :
155+ ----
156+
157+ * ` withApp `
158+ * ` withArgs `
159+ * ` givenModel `
160+ * ` givenUser `
161+ * ` givenUserWithRole `
162+ * ` givenLoggedInUser `
163+ * ` givenLoggedInUserWithRole `
164+ * ` givenAnUnauthenticatedToken `
165+ * ` givenAnAnonymousToken `
You can’t perform that action at this time.
0 commit comments