Skip to content

Commit 3fcb33d

Browse files
committed
Updates for TestBox 2.1.0
1 parent 8efc4a4 commit 3fcb33d

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

readme.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# A ColdBox Platform Bundle v1.8.0 for Sublime Text 2/3
1+
# A ColdBox Platform Bundle v1.9.0 for Sublime Text 2/3
22

33
Get the latest Sublime Text 2/3 from http://www.sublimetext.com/2.
44

@@ -59,6 +59,7 @@ Code completion for all major ColdBox + TestBox functions and scopes:
5959
- `afterAll ➝` : An `afterAll()` BDD life-cycle method
6060
- `aftereach ➝` : An `afterEach()` BDD closure
6161
- `afterTests ➝` : An `afterTests()` xUnit life-cycle method
62+
- `aroundEach ➝` : An `aroundEach()` BDD closure
6263
- `bdd ➝` : Creates a new BDD Test Bundle CFC
6364
- `beforeAll ➝` : An `beforeAll()` BDD life-cycle method
6465
- `beforeeach ➝` : A `beforeEach()` BDD closure
@@ -129,6 +130,10 @@ If you have the [Package Control](http://wbond.net/sublime_packages/package_cont
129130
- MXUnit Sublime Text bundle - https://github.com/mxunit/sublime-text-2-mxunit
130131

131132
## Changelog
133+
134+
### v1.9.0
135+
- TestBox 2.1 additions/modifications
136+
132137
### v1.8.0
133138
- ColdBox 4 additions/modifications
134139
- TestBox 2 additions/modifications

skeletons/test-bdd.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ component extends="testbox.system.BaseSpec"{
1717
1818
/*********************************** BDD SUITES ***********************************/
1919
20-
function run(){
20+
function run( testResults, testBox ){
2121
// all your suites go here.
2222
describe( "My First Suite", function(){
2323
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<snippet>
2+
<content><![CDATA[
3+
aroundEach(function( spec, suite ){
4+
${0}
5+
});]]></content>
6+
<tabTrigger>around</tabTrigger>
7+
<scope>source,text</scope>
8+
<description>TestBox BDD Around Each</description>
9+
</snippet>

snippets/testbox/debugDuplicate.sublime-snippet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<snippet>
22
<content><![CDATA[
3-
debug( var=$1, duplicate=true );
3+
debug( var=$1, duplicate=true, top=999 );
44
]]></content>
55
<tabTrigger>debugduplicate</tabTrigger>
66
<scope>source,text</scope>

0 commit comments

Comments
 (0)