Git Product home page Git Product logo

easyaccept's People

Contributors

matheusgr avatar monuelo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

easyaccept's Issues

Capture/replay funcionality

EastAccept should generate test scripts when a client is using the System under Test (SUT). EasyAccept should capture clients actions and record those actions in a "easyaccept script format". The generated script should used to repeat the same test.

Using Java Beans

Make using beans easy in easyaccept (as parameters, return values, script variables, etc.)
In other words, there are advantages to having a façade deal with beans and not only native data
since many modelues such as JSP, etc. can interface to a facade easier by dealing with beans
This should be available as return values, parameters, script variables, ...

Possible syntax
expect "John Doe" getStudent.name id=${id1}
student=getStudent id=${id1}
expect "John Doe" ${student}.name

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

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.

Exception Handling of Facade methods

When Easyaccept calls a method from a Facade and this method throws an unexpected exception, EasyAccept does not report were the exception had ocurred.

ex:
Command: <rollDice firstDieResult="1"(java.lang.Byte)
secondDieResult="1"(java.lang.Byte)>, produced error: <This place can't be sold>

EasyAccept should show the line of code where this excetion had ocurred
(and ,possibly, he line of scritp test that generates this error).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.