Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo - Including test files for unit tests

Vince Weeks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2016

When we include assets such as images in our projects, those assets are copied to the build instance and all is well. One of our developers recently added an Excel file to one of our unit test projects and that particular file is NOT copied to the build instance. As a result, the unit tests fail and our build won't deploy. How do I tell the build to copy our Unit Test "test file"?

2 answers

0 votes
Vince Weeks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 20, 2016

So, for anyone else that may have this sort of issue, resources like images, when part of an executable, are copied automatically - resources, when part of a unit test are NOT copied. A separate task to perform the copy is required.

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 19, 2016

Hello Vince,

From your description it's not clear what Bamboo task copies your test resources to build instance.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events