Edgewall Software

Opened 10 years ago

Last modified 10 years ago

#11635 closed enhancement

BetterTwill: Output path to HTML file as followable link — at Initial Version

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: 1.0.2
Component: general Version:
Severity: normal Keywords: twill functional tests
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When a twill test fails, we get output such as the following:

======================================================================
FAIL: runTest (__main__.TestDefaultHandler)
Set default handler from the Basic Settings page.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "trac/admin/tests/functional.py", line 133, in runTest
    tc.find(r'<option value="BatchModifyModule">BatchModifyModule'
  File "/home/user/Workspace/tracdev/teo-rjollos.git/trac/tests/functional/better_twill.py", line 225, in better_find
    raise twill.errors.TwillAssertionError(*args)
TwillAssertionError: ('no match to \'<option value="BatchModifyModule">BatchModifyModule</option>\'', '/home/user/Workspace/tracdev/teo-rjollos.git/testenv/trac/log/TestDefaultHandler.html')

I've wondered whether /home/user/Workspace/tracdev/teo-rjollos.git/testenv/trac/log/TestDefaultHandler.html can be rendered in the terminal as a followable link for all OSs that we support, or at least for the most widely used ones (sh and Windows Command Prompt, at least).

Change History (0)

Note: See TracTickets for help on using tickets.