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

Cannot run tests on develop #2832

Closed
tznind opened this issue Aug 26, 2023 · 4 comments
Closed

Cannot run tests on develop #2832

tznind opened this issue Aug 26, 2023 · 4 comments
Labels
build-and-deploy Issues regarding to building and deploying Terminal.Gui

Comments

@tznind
Copy link
Collaborator

tznind commented Aug 26, 2023

Describe the bug
When I do dotnet test in develop branch I get an error about runsettings.

Seems there is a line in gui.cs\UnitTests\UnitTests.csproj that is causing this. Removing it fixes the problem:

- <RunSettingsFilePath>C:\Users\charlie\s\gui-cs\Terminal.Gui\UnitTests\bin\Debug\net7.0\fine-code-coverage\coverage-tool-output\UnitTests-fcc-mscodecoverage-generated.runsettings</RunSettingsFilePath>
Test run for D:\Repos\gui.cs\UnitTests\bin\Debug\net7.0\UnitTests.dll (.NETCoreApp,Version=v7.0)
Microsoft (R) Test Execution Command Line Tool Version 17.4.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

The Settings file 'C:\Users\charlie\s\gui-cs\Terminal.Gui\UnitTests\bin\Debug\net7.0\fine-code-coverage\coverage-tool-output\UnitTests-fcc-mscodecoverage-generated.runsettings' could not be found.
@BDisp
Copy link
Collaborator

BDisp commented Aug 26, 2023

@tznind I think you are running a older branch because now the develop is v1_develop branch.

@tznind
Copy link
Collaborator Author

tznind commented Aug 28, 2023

Ok, got it. Maybe we should delete develop branch then if we are no longer using it? Most programmers will assume main/develop is the split if that branch exists?

@BDisp
Copy link
Collaborator

BDisp commented Aug 28, 2023

Ok, got it. Maybe we should delete develop branch then if we are no longer using it? Most programmers will assume main/develop is the split if that branch exists?

The develop branch doesn't exist anymore. It was set HEAD to the v1_develop. See #2815. You have to change set HEAD to the v1_develop. Unfortunately the v1_develop branch isn't executing the CI check. Maybe you can help on that, please. The main branch is now v1 and the v2 is the release for the v2_develop branch.

@tig
Copy link
Collaborator

tig commented Aug 28, 2023

And I'm going to change v1 back to main and v1_develop back to develop because what I was trying won't work.

I'm going to try to do this this morning.

@tig tig added the build-and-deploy Issues regarding to building and deploying Terminal.Gui label Aug 30, 2023
@tig tig closed this as completed Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-and-deploy Issues regarding to building and deploying Terminal.Gui
Projects
None yet
Development

No branches or pull requests

3 participants