Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5976

Add test for local dev env build

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Should have Should have
    • 2.52.1
    • None
    • 13
    • Dev Tools
    • Sprint #156, Sprint #157

      The goal is to stabilize the developer environment by testing basic assumptions,
      and be alerted when a change in one of the many dependencies of this build might make it fail.

      Because of the nature of this build and the number of dependencies, it would be better to run it once a day, and on any change to itself, than to trigger a run on any of our other repos changes.

      Steps:

      • Install developer environment
        • Runs =make dev=
        • Any error fails the step
      • Basic checks
        • =make status= gives expected output
        • Homepage is accessible (http 200, proper title tag)
        • Admin login is accessible (http 200, form present)
        • Homepage has no Warning/Error (check PHP keywords)
        • Logs have no unexpected warning/errors (fix current problems, exclude known messages)
      • NRO checks
        • set an NRO config in a Makefile.include file
        • =make nro-enable=
        • Basic checks
        • =make nro-disable=

      This can run in parallel with the existing =codeception= step.

            fhernand Florent Hernandez
            fhernand Florent Hernandez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: