Skip to content

Commit f30ec91

Browse files
update vendor integration
Signed-off-by: Sanjula Ganepola <[email protected]>
1 parent a7b0302 commit f30ec91

File tree

1 file changed

+42
-43
lines changed

1 file changed

+42
-43
lines changed

src/content/docs/developing/testing/configuring.mdx

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -189,50 +189,49 @@ Here is an example with all execution parameters set in the `testing.json` file:
189189
</TabItem>
190190
</Tabs>
191191

192-
<Aside type="note">
193-
The `wrapperCmd` parameter in the `RUCRTRPG`/`RUCRTCBL`/`RUCALLTST` specifications are not actual parameters of the RPGUnit commands, but rather are provided by the extension to allow wrappering them. This is primarily used when integrating RPGUnit with other vendor tools.
194-
195-
**Example `testing.json` configuration**:
196-
```json
197-
{
198-
"rpgunit": {
199-
"rucrtrpg": {
200-
"tgtCcsid": "*JOB",
201-
"dbgView": "*SOURCE",
202-
"cOption": [
203-
"*EVENTF"
204-
],
205-
"wrapperCmd": {
206-
"cmd": "MYLIB/MYCMD TSTCMD",
207-
"params": {
208-
"desc": "My description"
209-
}
192+
### Vendor Integration
193+
The `wrapperCmd` parameter in the `RUCRTRPG`/`RUCRTCBL`/`RUCALLTST` specifications are not actual parameters of the RPGUnit commands, but rather are provided by the extension to allow wrappering them. This is primarily used when integrating RPGUnit with other vendor tools.
194+
195+
**Example `testing.json` configuration**:
196+
```json
197+
{
198+
"rpgunit": {
199+
"rucrtrpg": {
200+
"tgtCcsid": "*JOB",
201+
"dbgView": "*SOURCE",
202+
"cOption": [
203+
"*EVENTF"
204+
],
205+
"wrapperCmd": {
206+
"cmd": "MYLIB/MYCMD TSTCMD",
207+
"params": {
208+
"desc": "My description"
210209
}
211-
},
212-
"rucalltst": {
213-
"wrapperCmd": {
214-
"cmd": "MYLIB/MYCMD CALLCMD",
215-
"params": {
216-
"desc": "My description"
217-
}
210+
}
211+
},
212+
"rucalltst": {
213+
"wrapperCmd": {
214+
"cmd": "MYLIB/MYCMD CALLCMD",
215+
"params": {
216+
"desc": "My description"
218217
}
219218
}
220219
}
221-
}
222-
```
223-
**Resolved compile command**:
224-
```js
225-
MYLIB/MYCMD TSTCMD(RPGUNIT/RUCRTRPG TSTPGM(MYUSER/TEMPDET)
226-
SRCSTMF('/home/MYUSER/builds/ibmi-company_system/qtestsrc/empdet.test.sqlrpgle')
227-
TGTCCSID(*JOB) DBGVIEW(*SOURCE) COPTION(*EVENTF) RPGPPOPT(*LVL2)
228-
INCDIR('''/home/MYUSER/builds/ibmi-company_system''')) DESC('My description')
229-
```
230-
231-
**Resolved execution command**:
232-
```js
233-
MYLIB/MYCMD CALLCMD(RPGUNIT/RUCALLTST TSTPGM(MYUSER/TEMPDET) ORDER(*REVERSE)
234-
DETAIL(*ALL) OUTPUT(*ALLWAYS) LIBL(*CURRENT) JOBD(*DFT) RCLRSC(*NO)
235-
XMLSTMF('/tmp/testing/vscode-ibmi-testing/RPGUNIT/TEMPDET_1751646914682.xml'))
236-
DESC('My description')
237-
```
238-
</Aside>
220+
}
221+
}
222+
```
223+
**Compile Command**:
224+
```js
225+
MYLIB/MYCMD TSTCMD(RPGUNIT/RUCRTRPG TSTPGM(MYUSER/TEMPDET)
226+
SRCSTMF('/home/MYUSER/builds/ibmi-company_system/qtestsrc/empdet.test.sqlrpgle')
227+
TGTCCSID(*JOB) DBGVIEW(*SOURCE) COPTION(*EVENTF) RPGPPOPT(*LVL2)
228+
INCDIR('''/home/MYUSER/builds/ibmi-company_system''')) DESC('My description')
229+
```
230+
231+
**Execution Command**:
232+
```js
233+
MYLIB/MYCMD CALLCMD(RPGUNIT/RUCALLTST TSTPGM(MYUSER/TEMPDET) ORDER(*REVERSE)
234+
DETAIL(*ALL) OUTPUT(*ALLWAYS) LIBL(*CURRENT) JOBD(*DFT) RCLRSC(*NO)
235+
XMLSTMF('/tmp/testing/vscode-ibmi-testing/RPGUNIT/TEMPDET_1751646914682.xml'))
236+
DESC('My description')
237+
```

0 commit comments

Comments
 (0)