-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2: Testing Parsing #2930
Comments
Good point, I need to spend some time and figure out what to expose for convenient testing in v2. |
Sorry to comment in a closed issue, but how are plug-in authors supposed to use this function? I don't think it can be referenced since it's defined in a test file. |
@JokerQyou we have some discussion about that here: #3402, it's possible we'll move NewTestDispenser elsewhere. Edit: I just opened a PR #3439 to do this. |
Wondering about the expectations that plugin writers should have around testing.
Currently looking at porting a cors library to v2. It has a bunch of nice tests to validate the caddyfile parsing.
I can appreciate keeping a bunch of implementation details hidden but access perhaps to this function would be a nice compromise?
The text was updated successfully, but these errors were encountered: