Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create serenity-bdd API #138

Closed
verhagen opened this issue Oct 3, 2015 · 2 comments
Closed

Create serenity-bdd API #138

verhagen opened this issue Oct 3, 2015 · 2 comments

Comments

@verhagen
Copy link
Contributor

verhagen commented Oct 3, 2015

why: Making it easier for new users the start with serenity-bdd

For new users all the packages can be quite overwhelming. What are the most imported interface and classes? What to use / extend etc. Which ones are relevant and which ones are less or not relevant.

My suggestion is to create a separate API library like serenity-api.jar. Users of serenity-bdd can just include the serenity-api.jar as compile time dependency. And will only need the serenity-core.jar dependency during runtime runtime.

This would make it easier for user of the serenity-bdd library, as the api would just contain the important stuff they need, and the rest, all the machinery, to make it work, would be hidden away in the core library.

@verhagen verhagen changed the title Split the library in core (for runtime) and API (for compile time) Split the library in core (runtime) and API (compile time) Oct 3, 2015
@verhagen verhagen changed the title Split the library in core (runtime) and API (compile time) Create serenity-bdd API Oct 3, 2015
@RobWin
Copy link

RobWin commented Oct 20, 2015

+1

@wakaleo
Copy link
Member

wakaleo commented Oct 20, 2015

It's not quite as simple as that - the new classes generally extend the "classic" ones, and the "classic" ones that remain in general use (e.g. annotations) are there because changing them would result in massive breaking changes and a lot of rework for existing tests. But I will think about what can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants