Project

General

Profile

Task #4682

[project] Отделить тесты от исходников

Added by Alexander Kamkin over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
01/23/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Published in build:
140708

History

#1

Updated by Andrei Tatarnikov over 6 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

#2

Updated by Andrei Tatarnikov over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

В r451 тесты живут отдельно и автоматически запускаются.

#3

Updated by Andrei Tatarnikov over 6 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 140708

Also available in: Atom PDF