Codeception / robo-paracept

Robo tasks for Codeception tests parallel execution
MIT License
57 stars 59 forks source link

Bugfix/number of elements in group #82

Closed vansari closed 3 years ago

vansari commented 3 years ago

Hi @DavertMik & @eXorus

I have found an issue with the calculation of the number of elements in groups. The built in function 'floor' rounds the number down to the next integer. This is the reason why you could get a last file with a huge number of files of tests.

Here is a good example with 83 example files which i want to split into 28 groups: Example 1 with floor: https://sandbox.onlinephpfunctions.com/code/a54ab995f5bed7199423017a6206ba875c1e0be7

Example 2 with round: http://sandbox.onlinephpfunctions.com/code/af5ce031c6eaa94aca9925ee54e090d0a4dfdc21