Last active
February 9, 2016 14:09
-
-
Save pedesen/540976405e8a4f814d0e to your computer and use it in GitHub Desktop.
PropertiesPanel test case structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('feature', function() { | |
describe('subfeature', function() { | |
describe('in the DOM', function() { | |
it('should execute', function() { | |
// then | |
// TODO | |
}); | |
it('should undo', inject(function(commandStack) { | |
// when | |
commandStack.undo(); | |
// then | |
// TODO | |
})); | |
it('should redo', inject(function(commandStack) { | |
// when | |
commandStack.undo(); | |
commandStack.redo(); | |
// then | |
// TODO | |
})); | |
}); | |
describe('on the business object', function() { | |
it('should execute', function() { | |
// then | |
// TODO | |
}); | |
it('should undo', inject(function(commandStack) { | |
// when | |
commandStack.undo(); | |
// then | |
// TODO | |
})); | |
it('should redo', inject(function(commandStack) { | |
// when | |
commandStack.undo(); | |
commandStack.redo(); | |
// then | |
// TODO | |
})); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment