开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > easyb |
easyb
|
5 | 2 | 943 |
贡献者 | 讨论 | 代码提交 |
easyb is a BDD framework (like RSpec & JBehave) that provides a domain specific language which makes application verification simple, fun, and easy. easyb provides support for two types of specifications, Behaviors and Stories. Behaviors are created with before and it. Stories are created with scenario, given, when and then.
easyb in actioneasyb enables you to verify behavior of normal Java objects, work-flows, etc (basically, anything you write in Java) in a more natural way-- for instance, imagine having a conversation with a customer who wants you to write something to validate zip codes.
"Could you please write something that lets my customers know when they've provided an invalid zip code?"
"Sure! So, given an invalid zip code, this validation service should notify someone that