View Issue Details

IDProjectCategoryView StatusLast Update
0023803Open CASCADEOCCT:Testspublic2013-04-29 15:23
ReportersanAssigned Toabv 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformAOSL 
Product Version6.6.0 
Target Version6.6.0Fixed in Version6.6.0 
Summary0023803: Mess with snapshot images in the test case reports
DescriptionCurrently, all snapshot images generated by a test case appear in the test case HTML report in alphabetical order and have no captions.
Thus there is no logical connection between the snapshots and the test case code, and the test case report looks consistent only if the test case generates a single snapshot image.

Meanwhile, a test case can generate arbitrary number of snapshots, and the order of snapshots might be essential for test case results understanding. And the test case developer normally should not care to generate snapshots also in alphabetical order!

Thus one of (or both) the following solutions should be implemented:
- Ordering snapshots in the report by creation/modification time
- Adding a caption (the file name) to each image
TagsNo tags attached.
Test case numberNot needed

Activities

abv

2013-02-28 14:01

manager   ~0023522

The fix pushed to CR23803, please review

san

2013-02-28 14:21

developer   ~0023524

Branch CR23803 reviewed without remarks.

mkv

2013-03-05 17:33

tester   ~0023594

Dear BugMaster,

Branch CR23803 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: 4515f97eef2cdfe5d3aa0d850c0c1218ece0a2be

Number of compiler warnings:

occt component :
Linux: 3 (3 on master)
Windows: 39 (39 on master)

products component :
Linux: 10 (10 on master)
Windows: 50 (50 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 238954900 / 239632072
Total CPU difference: 19314.309999999965 / 16849.919999999947

Testing on Windows:
Total MEMORY difference: 326989160 / 326994180
Total CPU difference: 14207.40625 / 15166.5

There are not serious differences in images found by testdiff.

Related Changesets

occt: master 3b21f8ae

2013-02-28 10:00:27

abv


Committer: abv Details Diff
0023803: Mess with snapshot images in the test case reports

Adding a caption (the file name) to each image included in the HTML test log
Affected Issues
0023803
mod - src/DrawResources/TestCommands.tcl Diff File

Issue History

Date Modified Username Field Change
2013-02-27 17:18 san New Issue
2013-02-27 17:18 san Assigned To => mkv
2013-02-27 17:22 san Description Updated
2013-02-27 18:50 abv Assigned To mkv => abv
2013-02-27 18:50 abv Status new => assigned
2013-02-28 14:01 abv Note Added: 0023522
2013-02-28 14:01 abv Assigned To abv => san
2013-02-28 14:01 abv Status assigned => resolved
2013-02-28 14:21 san Note Added: 0023524
2013-02-28 14:21 san Assigned To san => bugmaster
2013-02-28 14:21 san Status resolved => reviewed
2013-03-01 15:40 abv Target Version => 6.6.0
2013-03-01 18:07 mkv Assigned To bugmaster => mkv
2013-03-05 17:33 mkv Note Added: 0023594
2013-03-05 17:34 mkv Test case number => Not needed
2013-03-05 17:34 mkv Assigned To mkv => bugmaster
2013-03-05 17:34 mkv Status reviewed => tested
2013-03-11 17:38 abv Changeset attached => occt master 3b21f8ae
2013-03-11 17:38 abv Assigned To bugmaster => abv
2013-03-11 17:38 abv Status tested => verified
2013-03-11 17:38 abv Resolution open => fixed
2013-04-23 13:35 aiv Status verified => closed
2013-04-29 15:23 aiv Fixed in Version => 6.6.0