Skip to content

Converters usage #65

@dtamajon

Description

@dtamajon

I'm starting to use easytest, and I'm trying to use Converters to load entities in my test classes. After reading documentation, I don't know how to solve following situation:

I have methodA and methodB in my TestCase class, and both requires an Item entity to work. I can get entity with Converter, but how can I use a different set of Items for each method? I guess with TestMethod in my xml data file?

Furthermore, Item has a property Provider, which is an entity too. How should I define the information to load? Just as InputData entries and maganed in my Converter?

And finally, when Item has a property of type List , how should I store data in the XML to be properly read?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions