Skip to content

Commit aa97ecd

Browse files
committed
Update DEVELOPER.md
Adds information about Jasmine and Protractor tests and how to run single tests.
1 parent c32abca commit aa97ecd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

DEVELOPER.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,15 @@ Deployment to http://ui-grid.info/ is done automatically when pushed to ui-grid
401401
402402
# Tests
403403
404+
## Jasmine and Protractor
405+
All tests are writtten using Jasmine for assertions and Protractor for the e2e test driver.
406+
407+
### Running Single or Groups of tests
408+
You can select specific tests to run using Jasmine's 'focused testing'. In the version of Jasmine that this build system is running you can change `describe('...` to `ddescribe('...` or `it('...` to `iit('...` and only thoes tests will be run.
409+
In the most recent version of Jasmine this has changed to `fdescribe('...` and `fit('...` however at the moment this is not the version we are running.
410+
411+
## Safari
412+
404413
* **Note:** Safari 5 does not allow creating dates from strings where the delimiter is a dash, i.e. `new Date('2015-5-23')` will fail. This will cause your tests to work on all browsers but bomb on Safari 5 and you will have a hard time discovering why. Instead, use slashes like so: `new Date('2015/5/23')`.
405414
406415
# Performing a release

0 commit comments

Comments
 (0)