Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Enabling unit tests #250

Closed
wants to merge 3 commits into from

Conversation

SeanFeldman
Copy link
Contributor

Fixes #236 to unblock #240

@ctaggart please review

@SeanFeldman
Copy link
Contributor Author

image

@SeanFeldman
Copy link
Contributor Author

@ctaggart ping

{
var task = new CreateTask();
Assert.Equal("https://raw.githubusercontent.com/ctaggart/sourcelink-test/{commit}/*", task.ConvertUrl(provided));
}
Copy link
Owner

Choose a reason for hiding this comment

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

This looks great!

<Content Include="$(OutputPath)net461/SourceLink.Create.BitBucket.dll">
<Pack>true</Pack>
<PackagePath>build/net461</PackagePath>
</Content>
Copy link
Owner

Choose a reason for hiding this comment

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

Why was this removed? Is it not needed anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My understanding is that <pack> is responsible to generate a nuget package. Why do we need to create a package in the Tests project?

Not to mention I couldn't compile with this in place.

Copy link
Owner

Choose a reason for hiding this comment

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

This file is SourceLink.Create.BitBucket.csproj. If you compare the nupkgs between 2.2.1 and this build, you will see that you are missing those libraries.
https://ci.appveyor.com/project/ctaggart/sourcelink/build/2.2.1/artifacts
https://ci.appveyor.com/project/ctaggart/sourcelink/build/2.2.0-b538/artifacts

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, ok. I'll have a look at the csproj files changes to ensure only Tests project is affected.

<Compile Remove="bin\**" />
<EmbeddedResource Remove="bin\**" />
<None Remove="bin\**" />
</ItemGroup>
Copy link
Owner

Choose a reason for hiding this comment

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

Why was this added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Might need to revert that.

@ctaggart
Copy link
Owner

ctaggart commented Sep 8, 2017

Do you know what else needs to be done to get the tests to show up here?
https://ci.appveyor.com/project/ctaggart/sourcelink/build/2.2.0-b538/tests

@SeanFeldman
Copy link
Contributor Author

@ctaggart that might be due to disabled AppVeyor testing and running a custom script that needs to feed the results somehow into the build server? Not sure.
On my project I've used native AppVeyor testing and it works.

@ctaggart
Copy link
Owner

ctaggart commented Sep 9, 2017

I'll be able to review again when I get back from vacation. I'll be gone for a week.

@SeanFeldman
Copy link
Contributor Author

Closing in favor of #251

@SeanFeldman SeanFeldman deleted the enabling-unit-tests branch September 11, 2017 04:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants