Skip to content

Releases: Red-3/unit-test-workshop

Unit Test Workshop 04-4

15 Jan 16:48
Compare
Choose a tag to compare

The finished state of the first unit-test-workshop app.

Unit Test Workshop 04-3

14 Jan 16:17
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-04-3

Replace the stub service completely with fake implementations on a case
by case basis within distinct define blocks using the Jasmine Spy API.

Unit Test Workshop 04-2

14 Jan 16:17
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-04-2

Replace a stub service function with fake implementation on a real
service using the Jasmine Spy API.

Unit Test Workshop 04-1

14 Jan 16:16
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-04-1

Add view controller and unit tests with stub service implementation.

Unit Test Workshop 01-2

14 Jan 15:55
Compare
Choose a tag to compare
unit-test-workshop-01-2

Enable two more unit tests to cover error conditions.

Unit Test Workshop 03-3

14 Jan 16:16
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-03-3

Factor out similar tests into a new describe block.

Unit Test Workshop 03-2

14 Jan 16:15
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-03-2

SpyOn an dependent object to assert that it was called.

Unit Test Workshop 03-1

14 Jan 16:15
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-03-1

How to assert that the service cleared the internal cache?

Unit Test Workshop 02-1

14 Jan 16:14
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-02-1

Check that an internal property was updated. (In this case a cached
copy of the data.)

Unit Test Workshop 01-3

14 Jan 15:57
Compare
Choose a tag to compare
Pre-release
unit-test-workshop-01-3

Use success and error spies to assert promise resolution.