aspose file tools*
The moose likes Testing and the fly likes framework for integration testing in java: fit: how to handle nested objects using fixtures Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "framework for integration testing in java: fit: how to handle nested objects using fixtures" Watch "framework for integration testing in java: fit: how to handle nested objects using fixtures" New topic
Author

framework for integration testing in java: fit: how to handle nested objects using fixtures

narendra mallavarapu
Greenhorn

Joined: Mar 07, 2013
Posts: 1
Hi,

I am using FIT for integration tests. I know how to use Column Fixture, Row Fixture and Action Fixture basically. Now my problem is, if i have nested objects like Customer object is holding Address object with some fields, how can i parse such kind of objects.

example:



Now, i want to check using Action Fixture get Customer() method that returns customer object. Now in the parse(String s, Type) where s is string format of customer object coming from input file, how can i convert it into Customer object.
Is my approach proper? Please help me if you know it. i have some urgent req. to complete such kind of task.

Thank in advance.
Narendra.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39436
    
  28
Welcome to the Ranch
You should use the code button; I have been back to your post and you can see how much better it looks
You have arrived in the wrong forum; I shall try moving you and hope I put the discussion somewhere better.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: framework for integration testing in java: fit: how to handle nested objects using fixtures