Task #4682
closed[project] Отделить тесты от исходников
100%
Updated by Andrei Tatarnikov almost 11 years ago
Алексей Демаков сказал, что в дальнейшем мы планируем использовать Gradle для сборки проектов.
В руководстве по Gradle (http://www.gradle.org/docs/current/userguide/tutorial_java_projects.html) есть следующие пожелания по структуре проекта:
Gradle expects to find your production source code under src/main/java and your test source code under src/test/java. In addition, any files under src/main/resources will be included in the JAR file as resources, and any files under src/test/resources will be included in the classpath used to run the tests. All output files are created under the build directory, with the JAR file ending up in the build/libs directory.
Поэтому сделаем папки:
src/test/java
src/main/java
Updated by Andrei Tatarnikov almost 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
В r451 тесты живут отдельно и автоматически запускаются.
Updated by Andrei Tatarnikov over 10 years ago
- Status changed from Resolved to Closed
- Published in build set to 140708