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

Can i incorporate Reporting ability of serenity into an existing project which has its own dependencies already? #1679

Closed
priyaKN opened this issue May 17, 2019 · 4 comments
Labels

Comments

@priyaKN
Copy link

priyaKN commented May 17, 2019

@wakaleo Hello Sir. I am looking to plugin reporting feature of serenity into my existing Functional Test Automation Project which uses another project (the another project, we have build as common framework to use across organization) as library in our Automation project. All the classes in existing project uses method from the common library which makes use of TestNG. Can you give some insight on how can i plugin in just the reporting ability alone into my existing project which already has its own dependencies (since serenity doesn't support TestNG)

@priyaKN priyaKN changed the title Can i incorporate Reporting ability of serenity into an existing project which has its dependencies already? Can i incorporate Reporting ability of serenity into an existing project which has its own dependencies already? May 17, 2019
@wakaleo
Copy link
Member

wakaleo commented Jun 5, 2019

Are you using TestNG alone or TestNG with something else (e.g. Cucumber). There is no Serenity TestNG runner, so in principle this will not be possible.

@priyaKN
Copy link
Author

priyaKN commented Jun 5, 2019

I am using Selenium with TestNG. Looking to adopt Serenity for the existing project if there are not a lot of changes needs to be done

@wakaleo
Copy link
Member

wakaleo commented Jun 5, 2019

I would start by migrating a few tests to Serenity and JUnit - you should be able to have Serenity with your existing tests, as long as the Selenium versions are compatible.

@priyaKN
Copy link
Author

priyaKN commented Jun 5, 2019

I have made a POC to prove the above. I migrated few tests to Serenity and JUnit. It looks like tests are running fine with it. Right now, in the process of figuring out a way to change the existing automation builds generate reports using Serenity instead of the old way that we were doing.

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

No branches or pull requests

2 participants