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

The size of report folder increases when upgrade to 3.5.1 #3012

Closed ikallala closed 1 year ago

ikallala commented 1 year ago

There is a big difference in the size of report folder between the 3.2.5 version and 3.5.1 . In a test suite which contains 1800 scenarios, the size increases from 3 go to 22 go.

This is a simple project to reproduce the issue https://github.com/ikallala/SampleSerenityTest/tree/master (in this example the size passed from 12.3 mo to 16.5 mo, only 3 scenarios)

This difference in size becomes from generation of new the framed file in 3.5.1 (in screenshot below, the target of the same scenarios with different version )

image

wakaleo commented 1 year ago

This looks normal - the reports in 3.5.1 are richer and more complete than in 3.2.5. Can you see any indication of additional files that are not actually part of the reports?

ikallala commented 1 year ago

I don't see any files that are not actually part of the reports. but this difference of size causes many problems, the size of a report of a test suite (1800 scenarios) increases from 3go to 22go, that impacts our resources (server on which we execute tests).

wakaleo commented 1 year ago

Here are a few things you can do:

But all the HTML files generated are required for the reports to work correctly.

ikallala commented 1 year ago

This error appears when I added the property serenity.core.htlm No enum constant net.serenitybdd.core.photography.StoreHTML.never (reproduced only with 3.5.1, neither 3.2.5)

wakaleo commented 1 year ago
serenity.store.html=NEVER
ikallala commented 1 year ago

it returns now to its original size. Thanks