Stryker is unable to deserialize azure-fileshare-url in stryker-config.yaml #3009
saranyanandagopal
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a stryker-config.yaml that looks like this:
stryker-config:
solution: ProjectA.sln # this is relative to the project files
baseline:
enabled: true
provider: AzureFileStorage
fallback-version: main
azure-fileshare-url: https://iastryker.file.core.windows.net/ProjectA
project-info:
module: ProjectA
version: sn_configureBaseLine
mutation-level: Basic
reporters:
- html
- dots
ignore-methods: ['_log']
timeout-ms: 7000
I am passing --azure-fileshare-sas from the command line. However, I keep getting this message - The Azure File Storage url is required when Azure File Storage is used for dashboard compare. when running stryker.
I cloned Stryker-net locally and started it against my project in debug mode. YAML deserialization is returning null for AzureFileShareUrl in the below method.
I then updated the Property name to just Url in FileBasedInput.cs and changed my stryker-config accordingly. This seems to populate the url.
What could be the problem?
Beta Was this translation helpful? Give feedback.
All reactions