Auto-detect src and/or test directories
See original GitHub issueSome people keep their source in a src
directory and some people keep their tests in test
. This seems to up often enough that we should either detect this and automatically do something or warn people they should create a .env
file that manipulates their PYTHONPATH
to include the appropriate directories.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:17 (6 by maintainers)
Top Results From Across the Web
What's the difference between src/androidtest and src/test ...
src /test is for pure unit test that do not involve android framework. You can run tests here without running on a real...
Read more >Using Kotlin to test Android Applications - Nevercode Stories
As already mentioned, we'll store our unit tests under src/test/kotlin . In that directory we have a test class FormatterTestKotlin defined ...
Read more >MAVEN Directories - src/main/java and src/test/java - YouTube
In this video, I have explained about different maven directories.Learn:what is src /main/java and src / test /javawhat is src /main/resources ...
Read more >Bazel Tutorial: Build an Android App
This tutorial covers how to build a simple Android app using Bazel. ... Resource file directory, src/main/java/com/example/bazel/res/ ...
Read more >Content roots | IntelliJ IDEA Documentation - JetBrains
Create a content root for your project and configure a folder structure for your production code, your tests, and resource files.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://twitter.com/r1chardj0n3s/status/1019521759156924416 suggests at least on Twitter people like to use
src
.When you follow the same import rules as Python, it is really simple. A file or package in the same directory should be importable normally in the current file. It’s really not much to ask to silence an incorrect warning that all other editors seem to get right.