adamgruber / mochawesome

A Gorgeous HTML/CSS Reporter for Mocha.js
https://gitter.im/mochawesome/general
MIT License
1.06k stars 160 forks source link

Could mochawesome support 10000 steps? #290

Closed zhuguocheng29 closed 3 years ago

zhuguocheng29 commented 5 years ago

Now I have a case that has 10000 steps such as srcoll left or scroll right step, I use mochawesome however it meet OOM problem even if I set --max-old-space-size=4096. Therefore, my question is that could mochawesome support 10000 test steps or more? my code such as

describe('', function(){
    for(let count = 0; count< 10000; count++) {
        it('scroll left', ...)
        it('scroll right', ...)
    }
})
adamgruber commented 5 years ago

I don't fully understand your question. Are you running into issues running the tests and generating the report or is the report generated but not loading?

zhuguocheng29 commented 5 years ago

@adamgruber it runs into OOM issues when running the test and it doesn't generate the report

kolbasik commented 3 years ago

Hi @zhuguocheng29,

I am just wondering you have OOM issues even when you use any other default reporters from mocha like dot, spec?

zhuguocheng29 commented 3 years ago

@kolbasik Sorry, I haven't used dot, spec