Commit Graph
9 Commits
Author SHA1 Message Date
Matt GauntandAddy Osmani 1f62f7a2b3 Test sweep (#420)
* Big ole test re-jig

* Current work

* Moving all tests over to the test runner

* Fixing last nits in the build and test runner

* Adding precaching integration tests

* Moving sw-appcache-behavior to integration test

* Adding bg-sync to test suite again - incoming fails

* Fixing the last pieces of the test sweep

* Removing logs

* Removing number of repeats in tests - should be determined by the individual tests - not the runner

* Small move around with sw-appcache

* Retry the end to end-to-end test
2017-04-07 10:59:53 -07:00
Matt GauntandGitHub 82b7c6aa3a Get file manifest entries (#213)
* Adding function to get the file manifest entries as JS Object

* Adding getManifestFileEntries method and fixing jsdoc

* Adding ManifestEntry
2017-02-15 21:47:48 +00:00
Jeffrey PosnickandMatt Gaunt 62758f716b Test harness template, along with migration of sw-broadcast-cache-upd… (#194)
* Test harness template, along with migration of sw-broadcast-cache-update to use it.

* Linting

* __test/mocha/:pkg for the harness page
2017-02-06 14:31:30 -08:00
Matt Gaunt db2a5e6f95 Adding first refactoring of tests 2017-02-02 12:00:15 -08:00
Matt GauntandGitHub a3760000b1 Moves sw-precaching over to using requestWrapper (#177)
* Using requestWrapper

* Moving runtime cache over to the default request wrapper cache

* Removing old comment and unnecessary parameter

* Adding same origin credentials to requestwrapper

* Adding cookie tests

* Fixing lint error
2017-01-26 07:46:52 -08:00
Matt GauntandGitHub 7310040726 Adding test for redirects in sw-precaching (#96)
* Adding test for redirects in sw-precaching

* Returning promises in test
2017-01-05 09:12:06 -08:00
Matt GauntandJeffrey Posnick b2a35ff98d Precaching Rejig (#85)
* Extending tests for precaching module to ensure different scenarios are covered

* precaching-rework

* Moving over to a slightly tidier module structure

* Adding matrix to travis (#84)

* Adding matrix to travis

* Adding matrix to travis

* Remove star

* Adding node modules to caching

* Adding badges to README

* Should patch up the tests for precaching and sw-lib

* Adding the start of a CLI tool. No logic at the moment (#81)

* Adding the start of a CLI tool. No logic at the moment

* Minor tweak to cli-help text

* PR feedback

* Adding some debugging info for travis builds to chack phantom port issue

* PR comments

* Refactor the build process; build minified + non-minified libraries (#87)

* Helper methods for generating build configuration.

* Linting fixes.

* Review feedback.

* Extending tests for precaching module to ensure different scenarios are covered

* precaching-rework

* Moving over to a slightly tidier module structure

* Should patch up the tests for precaching and sw-lib

* PR comments

* A number of changes / fixes to tests.
2016-12-15 14:54:19 -05:00
Matt GauntandGitHub 6579719943 Adding the start of a CLI tool. No logic at the moment (#81)
* Adding the start of a CLI tool. No logic at the moment

* Minor tweak to cli-help text

* PR feedback

* Adding some debugging info for travis builds to chack phantom port issue
2016-12-09 14:26:27 -08:00
Matt GauntandGitHub 17a2703feb Sw precaching (#76)
* Adding sw-precaching

* Started to add some caching logic. Needs errors cases covered and a test to confirm existing cached assets aren't re-cached

* Fixing lint error - happy travis

* Started moving to indexeddb tracking of revisions

* Fixing up tests and fixing caching to remove old entries

* Review comments

* Moving test server over to gulp-serve

* Handling errors for bad inputs to cache manifest

* Adding some valid values to ensure they work

* Tidying up indexeddb usage

* Fixing up tests and removing the demo section for sw-precaching

* Adding tests to manage cache and indexeddb deletion

* Switching away from async and await due to build issues

* sw-precaching

* Moving to async and await

* sw-precaching

* Adding secondary server and smartest file manifest generation

* Hopefully making travis happy

* Fixing same server issue in sw-offline-analytics
2016-12-02 13:49:54 -08:00