$30 off During Our Annual Pro Sale. View Details »

Automating the code quality of your extensions

Automating the code quality of your extensions

Oliver Klee

August 26, 2021
Tweet

More Decks by Oliver Klee

Other Decks in Programming

Transcript

  1. Automating the

    code quality

    of your extensions
    Oliver Klee | @oliklee

    [email protected]


    2021-08-26 | TYPO3 Online Days 2021

    View Slide

  2. Hello!
    Oliver Kle
    e

    #extension-dev


    #workshop-teacher


    #the-unit-testing-guy


    @oliklee


    oliverklee.de

    View Slide

  3. The TYPO3

    Quality Assurance Initiative

    Mission: Build learning examples for high-quality extensions.


    Daniel Siepmann

    Łukasz Uznański

    Oliver Klee


    Join us on Slack:


    #qa-best-practices

    View Slide

  4. Today: Guided tour through

    automating extension quality

    View Slide

  5. Today: Guided tour through

    automating extension quality
    But, why?

    View Slide

  6. Today: Guided tour through

    automating extension quality
    tools and

    version

    support
    the demo

    extension
    breaking

    things
    automated

    testing
    (and
    fi
    xing

    them again)

    View Slide

  7. Today: Guided tour through

    automating extension quality
    tools and

    version

    support
    the demo

    extension
    breaking

    things
    automated

    testing
    (and
    fi
    xing

    them again)

    View Slide

  8. Version support for extensions
    TYPO3 9LTS

    (old LTS)
    TYPO3 10LTS

    (latest LTS)
    PHP 7.2, 7.3, 7.4 PHP 7.2, 7.3, 7.4

    View Slide

  9. Branching strategies

    for version support
    TYPO3 9LTS and 10LTS
    nimut

    testing framework

    V5: TYPO3 8LTS-10LTS
    1-branch strategy

    View Slide

  10. Branching strategies

    for version support
    TYPO3 9LTS and 10LTS
    nimut

    testing framework

    V5: TYPO3 8LTS-10LTS
    1-branch strategy
    TYPO3 9LTS
    TYPO3

    testing FW

    V4: TYPO3 9LTS
    2-branch strategy
    TYPO3 10LTS
    TYPO3

    testing FW

    V5: 10LTS

    View Slide

  11. Branching strategies

    for version support
    TYPO3 9LTS and 10LTS
    nimut

    testing framework

    V5: TYPO3 8LTS-10LTS
    1-branch strategy
    TYPO3 9LTS
    TYPO3

    testing FW

    V4: TYPO3 9LTS
    2-branch strategy
    TYPO3 10LTS
    TYPO3

    testing FW

    V5: 10LTS

    View Slide

  12. Branching strategies

    for version support
    TYPO3 9LTS and 10LTS
    nimut

    testing framework

    V5: TYPO3 8LTS-10LTS
    1-branch strategy
    TYPO3 9LTS
    TYPO3

    testing FW

    V4: TYPO3 9LTS
    2-branch strategy
    TYPO3 10LTS
    TYPO3

    testing FW

    V5: 10LTS
    TYPO3 testing framework

    V6: 11LTS-12LTS

    View Slide

  13. Installing the

    development tools
    for everything

    (wherever possible)
    for higher

    PHP version requirements
    Composer PHIVE
    in case of

    dependency hell

    View Slide

  14. Today: Guided tour through

    automating extension quality
    tools and

    version

    support
    the demo

    extension
    breaking

    things
    automated

    testing
    (and
    fi
    xing

    them again)

    View Slide

  15. The tea example extension

    View Slide

  16. The tea example extension

    View Slide

  17. The tea example extension

    View Slide

  18. Today: Guided tour through

    automating extension quality
    tools and

    version

    support
    the demo

    extension
    breaking

    things
    automated

    testing
    (and
    fi
    xing

    them again)

    View Slide

  19. Today: Guided tour through

    automating extension quality
    tools and

    version

    support
    the demo

    extension
    breaking

    things
    automated

    testing
    (and
    fi
    xing

    them again)

    View Slide