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

Test does not generate index.html #11

Open
mypark opened this issue Nov 7, 2019 · 2 comments
Open

Test does not generate index.html #11

mypark opened this issue Nov 7, 2019 · 2 comments

Comments

@mypark
Copy link

mypark commented Nov 7, 2019

Sample project exhibiting this behavior here: https://github.com/mypark/hello.cucumber

I tried following the getting started example and adding to a hello cucumber project, and it doesn't show any errors and generates some html files, but doesn't generate an index.html and some other landing pages. It does generate the test result pages however.

wrapper.gradleVersion = '5.5.1'
def cucumberVersion = '4.2.0'
def junitVersion = '5.5.0'

repositories {
    jcenter()
    mavenCentral()
}

configurations.all {
    resolutionStrategy {
        force "io.cucumber:cucumber-core:${cucumberVersion}"
    }
}

dependencies {
    testCompile (
        "net.serenity-bdd:serenity-core:2.0.76",
        "net.serenity-bdd:serenity-cucumber4:1.0.21",
        "io.cucumber:cucumber-core:${cucumberVersion}",
        "org.slf4j:slf4j-api:1.7.29",
        "org.slf4j:slf4j-simple:1.7.29"
    )

    testImplementation "io.cucumber:cucumber-java:${cucumberVersion}"
    testImplementation "io.cucumber:cucumber-junit:${cucumberVersion}"

    testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
    testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
    testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitVersion}"
}
@wakaleo
Copy link
Member

wakaleo commented Nov 8, 2019

Did you try running "gradle aggregate"?

@mypark
Copy link
Author

mypark commented Nov 8, 2019

Ah yes, I tried that and it seems to generate the index.html now - however it doesn't seem to generate the feature/requirements pages. When I click into the requirements tab it's empty.

If I click into test results, I see the name of the feature along with the scenario, but clicking into the feature is a 404. Is there something I need to be doing to make sure the feature list shows up in requirements tab and html files for features are generated as well?

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

No branches or pull requests

2 participants