Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add custom test folder support

See original GitHub issue


I would like to be able to pass --test-folder option to Conan create command.

As you can see here, the command only uses the reference, profile and policy.

I need to change the test_package path in a project, Conan won’t be able to execute the tests by CPT.

Before to check the code, I tried to use CPT args to set the option, I thought that in the past this would work.

builder = ConanMultiPackager(args=['--test-folder', 'conan/test_package'])

I could help to implement this feature, but I would like to discuss before to start. Conan client doesn’t support customization by env vars in this case, so we could add new argument or re-use something.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

solvingjcommented, Aug 16, 2018

can we close ticket?

lasotecommented, Jun 12, 2018


Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I add test folders in Android Studio - Stack Overflow
Right click on src folder and select create directory and android studio will show you folder like "test/java", "test/kotlin", "androidTest/java ...
Read more >
Advanced test setup - Android Developers
Create an instrumented test for a build variant ... Within the appropriate module folder, right-click the src folder and click New ...
Read more >
Prepare for testing | IntelliJ IDEA Documentation - JetBrains
Configure the folder for test resources ; From the main menu, select File | Project Structure ( Ctrl+Alt+Shift+S ) or click the Project ......
Read more >
Writing and Organizing Tests - Cypress Documentation
Configuring Folder Structure. While Cypress allows you to configure where your tests, fixtures, and support files are located, if you're starting your first ......
Read more >
Test Organization - The Rust Programming Language
We create a tests directory at the top level of our project directory, next to src. Cargo knows to look for integration test...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found