GitTools / GitVersion

From git log to SemVer in no time
https://gitversion.net/docs/
MIT License
2.78k stars 639 forks source link

[Improvement] Publish testing framework #3691

Open Sopor10 opened 9 months ago

Sopor10 commented 9 months ago

Is your improvement request related to a problem? Please describe.

I would like to document our gitversion configuration with tests.

Therefor I looked at your awesome integration tests and wanted to write specific ones for my use case. They work fine inside the GitVersion repository but at the moment I need to copy a bunch of source code (e.g. LibGit2Sharp) into my repository, as it is not published inside a nuget package.

Detailed Description

I want to use the tests as a living documentation and safty net for the versioning of that repository. It would be really nice to be able to have some sort of framework for that.

Possible Implementation

It would be really nice, if you would publish all packages to create integration tests for custom gitversion configurations.

HHobeck commented 9 months ago

To understand your request: Do you think a change of the existing code is necessary as well (change classes from internal to public) or is it just to publish the existing test framework via nuget?

Sopor10 commented 8 months ago

Sorry for the late reply. I did not use internal classes, that would need to be made public.

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs.

arturcic commented 4 months ago

To be honest I don't think we need to publish the GitVersion.Testing project, as it will require maintaining it and it is the only time we got this request. So I would say we do not plan to do that. Sorry about that.

arturcic commented 4 months ago

I think there might be a use case for this, when filling failed tests

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs.