#387: Rewrite Trac functional test cases against product environments - after
#355
-------------------------+-------------------------------------------------
  Reporter:  olemis      |      Owner:  olemis
      Type:  task        |     Status:  accepted
  Priority:  major       |  Milestone:
 Component:              |    Version:
  multiproduct           |   Keywords:  product environment functional
Resolution:              |  testing QA
-------------------------+-------------------------------------------------

Comment (by olemis):

 Attached patches are ready to be applied and will satisfy most of the
 goals of this ticket . Details:

 {{{#!sh

 $ hg qapplied
 t387/t387_r1487712_bloodhound_setup.diff
 t387/t387_r1485255_functional_test_infra.diff
 t387/t387_r1495238_attach_btn_value.diff
 t577/t577_r1496958_newticket_id.diff
 t387/t387_r149918_global_timeline.diff
 t387/t387_r149918_global_attachments.diff
 t387/t387_r1495238_functional_test.2.diff

 $ hg log -r qparent
 changeset:   264:99489e0a8ef7
 tag:         qparent
 tag:         svn-1499182
 user:        rjollos@13f79535-47bb-0310-9956-ffa450edef68
 date:        Wed Jul 03 02:40:48 2013 +0000
 summary:     Change methods from instance to class methods to support
 multiproduct test setup. Refs #509.

 }}}

 A summary of test report is pasted below .

 {{{#!sh

 $ python setup.py test -m tests.functional

 [...]
 ==============
 FAIL: Realm/id decoration in report
 ------------------
 Traceback (most recent call last):
   File "/path/to/bloodhound/trac/trac/ticket/tests/functional.py", line
 1094, in runTest
     tc.find('<a title="View ticket" href="[^"]*?/ticket/42">#42</a>')
   File "/path/to/bloodhound/trac/trac/tests/functional/better_twill.py",
 line 204, in better_find
     raise twill.errors.TwillAssertionError(*args)
 TwillAssertionError: ('no match to \'<a title="View ticket"
 href="[^"]*?/ticket/42">#42</a>\'',
 '/path/to/bloodhound/trac/testenv/trac/log/TestReportRealmDecoration.html')

 -----------
 Ran 126 tests in 890.836s

 FAILED (failures=1, errors=21)
 }}}

 Failure is related to #576 .

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/387#comment:5>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to