Project

General

Profile

Task #1957

Support #1947: deploy MNWebTester for v1.0.0

Display feature being tested instead of name of test.

Added by Roger Dahl over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_integration
Target version:
-
Start date:
2011-10-31
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

Where the tester displays the name of the test, such as "MNodeTier1IT: testMNCore_GetLogRecords, I think it would be better to have it display only the name of the API being tested, such as "getLogRecords".

In the header for the tests for each tier, I think it would be better to display something like "Tier 1" instead of "MNodeTier1IT".

History

#1 Updated by Rob Nahf over 12 years ago

Some better naming certainly can be done, within limits. The main issue is that the tests run by the servlet is determined by configuration. (pattern matching test class names from the test package). Futzing too much with test labels that don't correspond with method names will make it difficult to maintain, and will lose the correspondence to the method labels being called in Hudson (the same ones).

Through the properties file, can probably add a testPrefix and testSuffix pattern to strip out of the class name
camel case Method names can be converted to separate words, underscores to colons(?), perhaps:
for example "MNodeTier1IT.testMNCore_ping" could be "Tier 1 test MNCore: ping"

perhaps a general string substitution pattern property, that takes multiple patterns could be the mechanism.

#2 Updated by Rob Nahf over 12 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 80

formatting test name for better readability (stripping out all but the method, or testcase when it's a heading.

#3 Updated by Rob Nahf over 12 years ago

  • Status changed from In Progress to Closed
  • translation missing: en.field_remaining_hours set to 0.0

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)