Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Install Console Tool Within Docker Container
meagy
#1 Posted : Friday, February 26, 2021 5:28:19 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/26/2021(UTC)
Posts: 2
Location: United States of America

Hello,

We are Docker containerizing our build and test processes and currently use Ncrunch to calculate code coverage as well as to run our xUnit unit-level tests.

General Build and Test Processes (would like ALL of these to run within a Windows Docker Container)
1. Dotnet restore (nuget packages)
2. Dotnet build
3. Dotnet publish
4. Run ncrunch console tool to calculate coverage and execute xUnit unit tests.


I'm unable to find documentation or any mention of the console tool being installed or being run within a Docker container.

I can only find the document labeled "manual installation instructions" :https://www.ncrunch.net/documentation/manual-installation-instructions

Questions:
1. How can I install the ncrunch console tool with a CLI of some sort in order to install it within my Docker container?
2. In theory will the console tool work correctly in a Docker container?

Thank you.
Remco
#2 Posted : Friday, February 26, 2021 11:32:13 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,431

Thanks: 839 times
Was thanked: 1140 time(s) in 1064 post(s)
Hi, thanks for posting.

I'm sorry to say that we do not support Docker in any shape or form under NCrunch. NCrunch has a long development history on the Windows platform and makes extensive use of O/S service calls with deep integration with the OS. Presently I do not see such support being added in future.
meagy
#3 Posted : Saturday, February 27, 2021 12:05:21 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 2/26/2021(UTC)
Posts: 2
Location: United States of America

I do understand the complexities there, but it's still a huge disappointment. Thank you for the reply.
MatthewSteeples
#4 Posted : Thursday, March 25, 2021 7:34:27 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 10/28/2014(UTC)
Posts: 118
Location: United Kingdom

Thanks: 7 times
Was thanked: 15 time(s) in 13 post(s)
Hi Meagy,

I had a play around with this a few years back and recently resurrected my efforts (as we're planning on running some grid nodes in Docker images). I published a Dockerfile if you want to use that as a starting point.

Regards,
Matthew
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.041 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download