aboutsummaryrefslogtreecommitdiffstats
path: root/src/scenario/Matcher.js
AgeCommit message (Collapse)Author
2010-10-14New Angular Scenario runner and DSL system with redesigned HTML UI.Elliott Sprehn
Uses the Jasmine syntax for tests, ex: describe('widgets', function() { it('should verify that basic widgets work', function(){ navigateTo('widgets.html'); input('text.basic').enter('Carlos'); expect(binding('text.basic')).toEqual('Carlos'); input('text.basic').enter('Carlos Santana'); expect(binding('text.basic')).not().toEqual('Carlos Boozer'); input('text.password').enter('secret'); expect(binding('text.password')).toEqual('secret'); expect(binding('text.hidden')).toEqual('hiddenValue'); expect(binding('gender')).toEqual('male'); input('gender').select('female'); expect(binding('gender')).toEqual('female'); }); }); Note: To create new UI's implement the interface shown in angular.scenario.ui.Html.
2010-08-12Fix toEqual matcher to use angular.equals instead of simple == comparison, ↵Shyam Seshadri
which breaks down for arrays and objects
2010-08-04added MatcherSpecAndres Ornelas
2010-08-04test passing with repeater.countAndres Ornelas
2010-07-27refactoring done but Expect not workingAndres Ornelas
2010-07-27before pulling testcontext outAndres Ornelas
2010-07-27stable before refactoringAndres Ornelas