History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-210
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Lars Torunski
Reporter: Lars Torunski
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OSCache

Review: If last test-base and last test-web overwrite previous unit test reports

Created: 14/Oct/05 07:43 PM   Updated: 17/Oct/05 03:03 PM
Component/s: None
Affects Version/s: 2.2 RC
Fix Version/s: 2.2 final


 Description  « Hide
Check if last test-base JUnit tests and last test-web JUnit tests overwrite previous JUnit test reports.

 All   Comments   Change History      Sort Order:
Lars Torunski - [15/Oct/05 03:11 AM ]
The Ant target test invokes the targets test-base and test-base several time, but with different properties: oscacheMemoryOnly.properties, oscacheDiskOnly.properties, oscacheDiskAndMemory.properties and oscacheMemoryAndOverflowToDisk.properties.

But in each sub targets the JUnit outputs are overwriten, hence test and failure results are removed from the report!

716 tests are reported by JUnit.

Lars Torunski - [16/Oct/05 01:14 PM ]
Trying to abort tests, if a failure or error occurs by setting failureproperty="test.failure" in JUnit task and adding unless in ant target:
<target name="test-base" unless="test.failure">

Lars Torunski - [17/Oct/05 11:54 AM ]
Workaround: All 9 tests spitted into 9 targets which all checks the test.failure property. The problem is that property changes in the antcall targets are not retured to the caller target.