Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <properties>
- ...
- <suite>AllSuiteTest</suite>
- ...
- </properties>
- /*
- в этой версии - <suite> - уже не нужно
- */
- *******************************************
- <profiles>
- <profile>
- <id>smoke</id>
- <properties>
- <test.includeCategories>categories.Smoke</test.includeCategories>
- <test.excludeCategories>categories.Buggy</test.excludeCategories>
- </properties>
- </profile>
- <profile>
- <id>bullAcceptance</id>
- <properties>
- <test.includeCategories></test.includeCategories>
- <test.excludeCategories>categories.Buggy</test.excludeCategories>
- </properties>
- </profile>
- <profile>
- <id>buggy</id>
- <properties>
- <test.includeCategories>categories.Buggy</test.includeCategories>
- <test.excludeCategories></test.excludeCategories>
- </properties>
- </profile>
- </profiles>
- /*
- конечно, можно сказать, что если профайл не задали - значит all
- но - по заданию - нам нужны 4 профайла, добавь профайл all
- bullAcceptance - ошибся в букве
- fullAcceptance
- кстати - если информация не отличается от заявненной в properties - можно в профайле ее не уточнять
- например, будет достаточно
- <profile>
- <id>buggy</id>
- <properties>
- <test.includeCategories>categories.Buggy</test.includeCategories>
- </properties>
- </profile>
- */
- *************************************
- package features;
- ...
- public class TodoMVCEndToEndTest extends AtTodoMVCTest {
- /*
- К имени тест-класса - те же вопросы(см ревью к прошлому заданию)
- также - как и в прошлой работе - единственного пейджа можно было назвать и проще
- это можешь не исправлять - т к к текущей работе вопрос не относится
- теперь у нас нет причин помещать тест-классы в пекедж features - т к нет сьютов и нам не нужно отделять сьюты и тест-классы
- вынеси тест-классы из features, а сам features - удали
- */
Advertisement
Add Comment
Please, Sign In to add comment