GitTools / GitReleaseManager

Tool for creating and exporting releases for software applications hosted on GitHub
https://gittools.github.io/GitReleaseManager/docs/
MIT License
298 stars 39 forks source link

ReleaseNotesBuilderIntegrationTests does not work when token is missing #580

Open Jericho opened 3 months ago

Jericho commented 3 months ago

When the authentication token is not available, the tests in the ReleaseNotesBuilderIntegrationTests class fail with a ArgumentNullException: Value cannot be null. (Parameter 'token').

This is different than how other integration tests behave. More specifically: GitHubProviderIntegrationTests and GitLabProviderIntegrationTests check for the presence of the token in their respective "one time setup" and assert that tests are inconclusive if the token is missing.

I suggest that, for the sake of consistency, ReleaseNotesBuilderIntegrationTests should behave exactly like the other integration test classes.