Skip to content

Repository files navigation

Global Cache logo

global-cache

Speed up E2E tests by caching data between workers

lint test license

Documentation | Changelog

Why use it?

When running E2E tests in parallel, you might need to:

✅ Authenticate user only once
✅ Seed database only once
✅ Compute heavy values on demand
✅ Reuse heavy-computed values across workers
✅ Persist heavy-computed values between test runs

Global Cache makes all of this possible.

How it works

The first worker to request a key computes its value. Concurrent workers wait for that computation and then receive the same cached result.

Test runner workers sharing Global Cache

Documentation

License

MIT

About

A key-value cache for sharing data between parallel workers.

Resources

Stars

33 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages