serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

Why buildscript needed ? #206

Closed sifulovi closed 5 years ago

sifulovi commented 5 years ago

If i write the below code

buildscript {
    repositories {
        mavenLocal()
        jcenter()
    }
    dependencies {
        classpath("net.serenity-bdd:serenity-gradle-plugin:2.0.48")
    }
}

Then reports generate with index.html .

My question is why that code is needed for generating report?

wakaleo commented 5 years ago

https://serenity-bdd.rocket.chat is a better place for general questions like this. This code lets Gradle find the Serenity plugin. It's the test.finalizedBy(aggregate) code that actually generates the reports.

sifulovi commented 5 years ago

Ok, Sir, I am writing on rocket chat.