julia_v_iluhina

Untitled

Aug 1st, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.60 KB | None | 0 0
  1.  <properties>
  2.         ...
  3.         <suite>AllSuiteTest</suite>
  4.         ...
  5.  </properties>
  6.  
  7.  /*
  8.     в этой версии - <suite> - уже не нужно
  9.  */
  10.  
  11. *******************************************
  12.  
  13. <profiles>
  14.         <profile>
  15.             <id>smoke</id>
  16.             <properties>
  17.                 <test.includeCategories>categories.Smoke</test.includeCategories>
  18.                 <test.excludeCategories>categories.Buggy</test.excludeCategories>
  19.             </properties>
  20.         </profile>
  21.         <profile>
  22.             <id>bullAcceptance</id>
  23.             <properties>
  24.                 <test.includeCategories></test.includeCategories>
  25.                 <test.excludeCategories>categories.Buggy</test.excludeCategories>
  26.             </properties>
  27.         </profile>
  28.         <profile>
  29.             <id>buggy</id>
  30.             <properties>
  31.                 <test.includeCategories>categories.Buggy</test.includeCategories>
  32.                 <test.excludeCategories></test.excludeCategories>
  33.             </properties>
  34.         </profile>
  35. </profiles>
  36.  
  37. /*
  38.     конечно, можно сказать, что если профайл не задали - значит all
  39.     но - по заданию - нам нужны 4 профайла, добавь профайл all
  40.  
  41.     bullAcceptance - ошибся в букве
  42.     fullAcceptance
  43.    
  44.     кстати - если информация не отличается от заявненной в properties - можно в профайле ее не уточнять
  45.     например, будет достаточно
  46.         <profile>
  47.             <id>buggy</id>
  48.             <properties>
  49.                 <test.includeCategories>categories.Buggy</test.includeCategories>
  50.             </properties>
  51.         </profile>    
  52. */
  53. *************************************
  54.  
  55. package features;
  56.  
  57. ...
  58. public class TodoMVCEndToEndTest extends AtTodoMVCTest {
  59. /*
  60.    К имени тест-класса -  те же вопросы(см ревью к прошлому заданию)
  61.    также - как и в прошлой работе - единственного пейджа можно было назвать и проще
  62.    это можешь не исправлять - т к к текущей работе вопрос не относится
  63.  
  64.    теперь у нас нет причин помещать тест-классы в пекедж features - т к нет сьютов и нам не нужно отделять сьюты и тест-классы
  65.  
  66.    вынеси тест-классы из features, а сам features - удали
  67.  
  68. */
Advertisement
Add Comment
Please, Sign In to add comment