Skip to content

A method should return a collections of strings as argument in scripts. #5

@matheusgr

Description

@matheusgr

In the current implementation, a command can only return a simple string.

A command should return a collection of strings, the expected string
should have the syntax {"John Doe","Mary Stuart"}

Where s1 is the string representing the first object in the collection, etc.

Since EasyAccept expected results with actual results, the collections (a clss that implements Java Collection interface) returned by Facade methods should be converted to this same syntax (or vice-versa), to allow the comparison between "expected results" and "returned results".

For example:
expect {"John Doe","Mary Stuart"} getUserNames age=20

In this case, the getUserNames command returns a collection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions