cjstehno / ersatz

🤖 A simulated HTTP server for testing client code with configurable responses.
https://cjstehno.github.io/ersatz
Apache License 2.0
47 stars 5 forks source link

Bug related to layered configuration and auto-start #182

Closed cjstehno closed 1 year ago

cjstehno commented 1 year ago

At its most layered level... if you create a test with the extension, then create a default ServerConfig provider with configured expectations, then also create expectations inside the test method, startup crashes - probably due to trying to auto-start inside the extension, before the starter is provided.

I need to see if I can come up with a better system for doing auto-start along side layered configuration.

cjstehno commented 1 year ago

This issue has been fixed in the 4.0 code.