- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-21-2023 08:10 AM
We have been building a custom content pack and it has many automations. These automations ended up needing the same test files. Is there a way to share these test files with all automations in a pack?
I tried accessing the parent directory in the test environment but it didn't work.
10-24-2023 11:52 PM
@Ivetto Thank you for your reply, the test files are basically txts. I modified demisto-sdk a bit to change the `lint` environment. Demisto-sdk is now able to load the test files in the parent directory. The official repository however didn't accept my contribution because such a feature required internal discussion and they decided to not implement that. So I am fine with my own version for now.
10-24-2023 10:51 AM
Hello, what is the type of these test files?
10-24-2023 10:52 AM - edited 10-24-2023 10:53 AM
We have the possibility of exporting the custom bundle which would include custom items you have worked on in the environment but it would include everything, not sure if that is something you are okay with but it's an option.
You can export the bundle going to Settings > About > Troubleshooting > Custom content > Export
Then use the same process in the other environment to import the zipped file.
10-24-2023 11:52 PM
@Ivetto Thank you for your reply, the test files are basically txts. I modified demisto-sdk a bit to change the `lint` environment. Demisto-sdk is now able to load the test files in the parent directory. The official repository however didn't accept my contribution because such a feature required internal discussion and they decided to not implement that. So I am fine with my own version for now.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!