serenity-bdd / serenity-core

Serenity BDD is a test automation library designed to make writing automated acceptance tests easier, and more fun.
http://serenity-bdd.info
Other
719 stars 516 forks source link

No index.html in target/site/serenity #83

Closed derTobsch closed 9 years ago

derTobsch commented 9 years ago

This is a part of my maven pom. The report is generated absolute ok. But there is no index.html in the serenity directory. Did i miss anything or is it just a bug?

i looked at https://github.com/serenity-bdd/serenity-demos/blob/master/junit-webtests/pom.xml but found nothing i could use.

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-project-info-reports-plugin</artifactId>
                <version>2.8</version>
                <reportSets>
                    <reportSet>
                        <reports>
                            <report>index</report>
                            <report>summary</report>
                        </reports>
                    </reportSet>
                </reportSets>
            </plugin>
        </plugins>
    </reporting>

<plugins>
            <plugin>
                <groupId>net.serenity-bdd.maven.plugins</groupId>
                <artifactId>serenity-maven-plugin</artifactId>
                <version>${serenity-maven.version}</version>
                <executions>
                    <execution>
                        <id>serenity-reports</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>aggregate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
</plugins>

the target/site/serenity does look like this after mvn verify site

.
├── bootstrap
├── browser-remote.properties
├── css
├── datatables
├── dygraph
├── eebc91ccd7458dc01175a55cf7025f55cf726fe0bad1739da0445a1d94f6c3f5.html
├── eebc91ccd7458dc01175a55cf7025f55cf726fe0bad1739da0445a1d94f6c3f5.json
├── eebc91ccd7458dc01175a55cf7025f55cf726fe0bad1739da0445a1d94f6c3f5.xml
├── excanvas
├── favicon.ico
├── font-awesome
├── images
├── jit
├── jqplot
├── jqtree
├── jqueryui
├── nivo-slider
├── scripts
└── SERENITY-JUNIT-eebc91ccd7458dc01175a55cf7025f55cf726fe0bad1739da0445a1d94f6c3f5.xml
derTobsch commented 9 years ago

it does work with your demos at serenity-bdd/serenity-demos and junt. I will try to look up my failure.

derTobsch commented 9 years ago

fixed it. had a wrong configuration on jenkins. Only mvn clean test was defined as goal. I think that was it.

rjrussell77 commented 9 years ago

I'm seeing this same issue when we updated from 1.0.47 to 1.0.59. Can you explain what the problem is exactly? We didn't change anything else in our configuration - passed parameters or otherwise.

rjrussell77 commented 9 years ago

This might be helpful to others as it explained our problem: https://github.com/serenity-bdd/serenity-maven-plugin/issues/9

derTobsch commented 9 years ago

@rrussell39 i will take a look at that on Monday.

hypery2k commented 9 years ago

would be great if this can be fixed

derTobsch commented 9 years ago

i think the problem is, that i used mvn clean test instead of mvn clean verify. I just used verify and everything worked fine. :-)

wakaleo commented 9 years ago

Thanks for the update, I'll close this now.