Skip to content

Bring numbers of objects up to date with latest NFRs #65

@emteknetnz

Description

@emteknetnz

The following updates will bring this module into line with our latest NFR's as specified here

This work will assist this the 'more realistic platform regression testing' issue here https://github.com/silverstripeltd/product-issues/issues/33

FTPageMakerTask.php

  • 10,000 pages total, and at least one page with >200 child pages
  • 5 levels of page hierarchy

TODO:
Hardcode to the following: (don't bother making configurable)

  • 10 (was 5)
  • 250 (was 100)
  • 1
  • 1
  • 1

FTFileMakerTask.php

  • 10,000 files, and at least one folder with >1000 files
  • Files contain a variety of types, e.g. JPEGs with 2MB file size

TODO:

  • change protected $folderCountByDepth to
    0 => 2,
    1 => 1, (was 2)
    2 => 2,
    3 => 2,
    4 => 2,

  • change protected $fileCountByDepth to
    0 => 100,
    1 => 1001, (was 30)
    2 => 5,
    3 => 5,
    4 => 5

Company.php

  • 10,000 objects (managed through ModelAdmin or GridField)

TODO:

  • update data() to go from 216 companies to 10K
  • simply that array and suffix '-01', '02' etc 50 times

TODO:
Also as a part of work, fix this issue at the same time #64

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions