allure1 icon indicating copy to clipboard operation
allure1 copied to clipboard

Slow report generation

Open apanashchenko opened this issue 12 years ago • 8 comments

Hello guys, Thanks a lot for Allure :) But, I have issue, after passing test report generation finish after 2014-09-23_1204

P.S. Attach send to Artem Eroshenko

apanashchenko avatar Sep 23 '14 09:09 apanashchenko

@apanashchenko could you please specify the details of your project:

  • Which test framework are you using?
  • Which report generation tool are you using?
  • Do you have large attachments in your tests? That's very good that you know @eroshenkoam email but the main idea is to help others to resolve the same issue if it happens.

vania-pooh avatar Sep 23 '14 09:09 vania-pooh

Which test framework are you using? - TestNG Which report generation tool are you using? Jenkins plugin Do you have large attachments in your tests? - send it to @eroshenkoam

apanashchenko avatar Sep 23 '14 10:09 apanashchenko

@apanashchenko according to screenshot your attachments size is about 1.6 Mb which is not so large. Anyway we'll investigate this with @eroshenkoam.

vania-pooh avatar Sep 23 '14 10:09 vania-pooh

Thanks a lot!

apanashchenko avatar Sep 23 '14 10:09 apanashchenko

@apanashchenko problem in your steps names 2014-10-01 17 21 13

We generate human-readable title from names for suites, cases and steps and this logic works too slow with long names.

I'll fix it by limiting name up to 256 characters (you can configure it using allure properties).

Simple workaround for you:

  • Manually add step title for each step with array parameter
@Step("Check bars orders")
void step(Something[] arrayOfSomething) {
   ...
}
  • Use wrappers for step array parameters
@Step
void step(ArrayOfSomething array) {
   ...
}

baev avatar Oct 01 '14 13:10 baev

Thanks! It's really help!

apanashchenko avatar Oct 02 '14 06:10 apanashchenko

@apanashchenko glad to hear.

vania-pooh avatar Oct 02 '14 09:10 vania-pooh

closed via #435

baev avatar Dec 09 '14 11:12 baev