GitVersion icon indicating copy to clipboard operation
GitVersion copied to clipboard

[Improvement] Publish testing framework

Open Sopor10 opened this issue 2 years ago • 7 comments

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.

Sopor10 avatar Sep 14 '23 11:09 Sopor10

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?

HHobeck avatar Sep 29 '23 08:09 HHobeck

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

Sopor10 avatar Oct 25 '23 07:10 Sopor10

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.

github-actions[bot] avatar Jan 23 '24 11:01 github-actions[bot]

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 avatar Feb 19 '24 16:02 arturcic

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

arturcic avatar Feb 19 '24 23:02 arturcic

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.

github-actions[bot] avatar May 20 '24 11:05 github-actions[bot]

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.

github-actions[bot] avatar Aug 19 '24 11:08 github-actions[bot]