Skip to content
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

Tests 10122023 #167

Merged
merged 22 commits into from
Dec 13, 2023
Merged

Tests 10122023 #167

merged 22 commits into from
Dec 13, 2023

Conversation

juev
Copy link
Collaborator

@juev juev commented Dec 11, 2023

  • add config for GoBrew
  • rewrite tests to use httptest

Resolve #127

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 69.1 % +
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 69.1 % +
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 103 sec 18 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 69.1 % +
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

@juev
Copy link
Collaborator Author

juev commented Dec 11, 2023

test time was improved :)

@juev
Copy link
Collaborator Author

juev commented Dec 11, 2023

I will check tests with windows

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 69.1 % +
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 69.1 % +
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.8 %
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.4 % -
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68 % -
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.8 %
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 103 sec 18 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.8 %
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 103 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

@juev
Copy link
Collaborator Author

juev commented Dec 11, 2023

On Windows we had a problem with tests.
The uploaded files were blocked by the main go process, which prevented the temporary directory from being cleaned up in a timely manner. Because of this, certain special effects arose.
Why not waste time solving this problem while I disabled tests on Windows, as was the case before.

@juev
Copy link
Collaborator Author

juev commented Dec 11, 2023

Interesting question. Is it necessary to rewrite the history of the comedians to make the story cleaner? And did the changelog contain only the necessary information?

Copy link
Owner

@kevincobain2000 kevincobain2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woah

@juev
Copy link
Collaborator Author

juev commented Dec 12, 2023

In this MR I also changed the client to work with http. I returned it back so as not to break the work via proxy.

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.7 % -
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 101 sec 18 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

@juev juev mentioned this pull request Dec 12, 2023
* origin/master:
  work behind proxy
  work behind proxy
Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.7 % -
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 101 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

@kevincobain2000
Copy link
Owner

In this MR I also changed the client to work with http. I returned it back so as not to break the work via proxy.

Got it, thanks! No worries.

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.7 % -
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 3 sec
unit-test-run-time 101 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

Copy link

Summary CoverItUp: kevincobain2000/gobrew

Type master tests-10122023
coverage 68.8 % 68.7 % -
go-binary-size 5.8k KB 5.9k KB +
go-mod-dependencies 28 29 +
go-sec-issues 6 6
build-time 3 sec 4 sec +
unit-test-run-time 101 sec 19 sec -

Generated by Cover It Up.
View full report https://coveritup.app/kevincobain2000/gobrew

@kevincobain2000 kevincobain2000 merged commit 9555cde into master Dec 13, 2023
14 checks passed
@kevincobain2000 kevincobain2000 deleted the tests-10122023 branch December 13, 2023 01:17
@kevincobain2000
Copy link
Owner

Will push new tag at night

@kevincobain2000
Copy link
Owner

In this MR I also changed the client to work with http. I returned it back so as not to break the work via proxy.

Pushed to v1.10.5

Tested behind proxy too, works as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit tests
2 participants