You can run CF worker code locally, write tests, etc using our edge app runtime: https://github.com/superfly/fly