|
19 | 19 | { "trigger": "expect\tfn. (ColdBox BaseSpec)", "contents": "expect( actual=${1:any} )" }, |
20 | 20 | { "trigger": "expectedException\tfn. (ColdBox BaseSpec)", "contents": "expectedException( type=${1:any}, regex=${2:any} )" }, |
21 | 21 | { "trigger": "fail\tfn. (ColdBox BaseSpec)", "contents": "fail( message=${1:any} )" }, |
| 22 | + { "trigger": "feature\tfn. (ColdBox BaseSpec)", "contents": "feature( feature=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false}, skip=${5:any} )" }, |
22 | 23 | { "trigger": "getDebugBuffer\tfn. (ColdBox BaseSpec)", "contents": "getDebugBuffer()" }, |
23 | 24 | { "trigger": "getMockBox\tfn. (ColdBox BaseSpec)", "contents": "getMockBox( generationPath=\"${1:}\" )" }, |
24 | 25 | { "trigger": "getProperty\tfn. (ColdBox BaseSpec)", "contents": "getProperty( target=${1:any}, name=${2:any}, scope=${3:any}, defaultValue=${4:any} )" }, |
| 26 | + { "trigger": "given\tfn. (ColdBox BaseSpec)", "contents": "given( given=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false}, skip=${5:any} )" }, |
25 | 27 | { "trigger": "hasExpectedException\tfn. (ColdBox BaseSpec)", "contents": "hasExpectedException( specName=${1:any}, runner=${2:any} )" }, |
26 | 28 | { "trigger": "isExpectedException\tfn. (ColdBox BaseSpec)", "contents": "isExpectedException( exception=${1:any}, specName=${2:any}, runner=${3:any} )" }, |
27 | | - { "trigger": "it\tfn. (ColdBox BaseSpec)", "contents": "it( title=\"${1:}\", body=${2:any}, labels=${3:any}, skip=${4:any} )" }, |
| 29 | + { "trigger": "it\tfn. (ColdBox BaseSpec)", "contents": "it( title=\"${1:}\", body=${2:any}, labels=${3:any}, skip=${4:any}, data=${5:{}} )" }, |
28 | 30 | { "trigger": "makePublic\tfn. (ColdBox BaseSpec)", "contents": "makePublic( target=${1:any}, method=\"${2:}\", newName=\"${3:}\" )" }, |
29 | 31 | { "trigger": "prepareMock\tfn. (ColdBox BaseSpec)", "contents": "prepareMock( object=${1:any}, callLogging=${2:true,false} )" }, |
30 | 32 | { "trigger": "print\tfn. (ColdBox BaseSpec)", "contents": "print( message=${1:any} )" }, |
|
36 | 38 | { "trigger": "runRemote\tfn. (ColdBox BaseSpec)", "contents": "runRemote( testSpecs=\"${1:}\", testSuites=\"${2:}\", reporter=\"${3:}\", labels=\"${4:}\" )" }, |
37 | 39 | { "trigger": "runSpec\tfn. (ColdBox BaseSpec)", "contents": "runSpec( spec=${1:any}, suite=${2:any}, testResults=${3:any}, suiteStats=${4:any}, runner=${5:any} )" }, |
38 | 40 | { "trigger": "runTestMethod\tfn. (ColdBox BaseSpec)", "contents": "runTestMethod( spec=${1:any}, testResults=${2:any}, suiteStats=${3:any}, runner=${4:any} )" }, |
| 41 | + { "trigger": "scenario\tfn. (ColdBox BaseSpec)", "contents": "scenario( scenario=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false}, skip=${5:any} )" }, |
| 42 | + { "trigger": "story\tfn. (ColdBox BaseSpec)", "contents": "story( story=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false}, skip=${5:any} )" }, |
| 43 | + { "trigger": "then\tfn. (ColdBox BaseSpec)", "contents": "then( then=\"${1:}\", body=${2:any}, labels=${3:any}, skip=${4:any}, data=${5:{}} )" }, |
| 44 | + { "trigger": "when\tfn. (ColdBox BaseSpec)", "contents": "when( when=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false}, skip=${5:any} )" }, |
39 | 45 | { "trigger": "xdescribe\tfn. (ColdBox BaseSpec)", "contents": "xdescribe( title=\"${1:}\", body=${2:any}, labels=${3:any}, asyncAll=${4:true,false} )" }, |
40 | | - { "trigger": "xit\tfn. (ColdBox BaseSpec)", "contents": "xit( title=\"${1:}\", body=${2:any}, labels=${3:any} )" }, |
| 46 | + { "trigger": "xit\tfn. (ColdBox BaseSpec)", "contents": "xit( title=\"${1:}\", body=${2:any}, labels=${3:any}, data=${4:{}} )" }, |
41 | 47 | { "trigger": "appendToBuffer\tfn. (ColdBox Interceptor)", "contents": "appendToBuffer( str=${1:any} )" }, |
42 | 48 | { "trigger": "clearBuffer\tfn. (ColdBox Interceptor)", "contents": "clearBuffer()" }, |
43 | 49 | { "trigger": "getBufferObject\tfn. (ColdBox Interceptor)", "contents": "getBufferObject()" }, |
|
225 | 231 | { "trigger": "binder.unMap\tfn. (ColdBox binder)", "contents": "unMap( name=${1:any} )" }, |
226 | 232 | { "trigger": "binder.virtualInheritance\tfn. (ColdBox binder)", "contents": "virtualInheritance( mapping=${1:any} )" }, |
227 | 233 | { "trigger": "binder.with\tfn. (ColdBox binder)", "contents": "with( alias=${1:any} )" }, |
| 234 | + { "trigger": "binder.withInfluence\tfn. (ColdBox binder)", "contents": "withInfluence( influenceClosure=${1:any} )" }, |
228 | 235 | // END Functions for Scope: binder |
229 | 236 |
|
230 | 237 | // Functions for Scope: log |
|
0 commit comments