Project

General

Profile

Actions

Task #4682

closed

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

Added by Alexander Kamkin about 10 years ago. Updated over 9 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
Actions #1

Updated by Andrei Tatarnikov about 10 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

Actions #2

Updated by Andrei Tatarnikov about 10 years ago

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

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

Actions #3

Updated by Andrei Tatarnikov over 9 years ago

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

Also available in: Atom PDF