riconet/dynamic-faq

This extension provides a full FAQ solution with user created questions answered by admins

6.0.0 2021-01-11 12:34 UTC

This package is auto-updated.

Last update: 2021-10-11 14:30:25 UTC


README

Dependencies

  • TYPO3 9.5.0+
  • typoscript_rendering 2.3.0+

Overview

This extension provides a full FAQ solution with user created questions answered by admins

Installation

  • Activate the extension via the Extensions module.
  • Include the static typo script file.
  • Navigate to the root of the extension and run:
    yarn install
    

Info

Only questions marked as answered and published are visible in the frontend.

How to run the tests local

To run tests, quality checks and build, execute the script Build/Scripts/runTests.sh.

The test runner script options

-s <...>
    Specifies which test suite to run
        - build: Builds the project (composer)
        - lint: Lints the php files
        - functional: functional tests
        - unit (default): PHP unit tests
        - quality: executes code quality checks (phpstan, phpcs, phpmd)
        - find-debugs: Finds usages of debug calls.

-p <7.2|7.3>
    Specifies the PHP minor version to be used
        - 7.2 (default): use PHP 7.2
        - 7.3: use PHP 7.3

-e "<phpunit options>"
    Only with -s functional|unit
    Additional options to send to phpunit (unit & functional tests).
    Starting with "--" must be added after options starting with "-".
    Example -e "-v --filter canRetrieveValueWithGP" to enable verbose output AND filter tests
    named "canRetrieveValueWithGP"

-h
    Show this help.