quality assurance in practice - brussels drupal meetup
TRANSCRIPT
Quality Assurance in practice
TATAR Balazs JanosEuropean Commission, DIGIT
Brussels Drupal Meetup
Quality Assurance
• "A way of preventing mistakes or defects in manufactured products and avoiding problems when delivering solutions or services to customers."
• Wikipedia
• "The process by which subcontracted projects (features and sub-themes) are being validated to comply to the FPFIS platform."
• European Commission, DIGIT, FPFIS Team
Quality Assurance
• Small steps to improve the quality of your project:
• standards,• code documentation,• project management softwares,• clear workflows (not only agile).
Next Europa WCMS
• - European Commission• - Drupal 7 – multisite• - Around 80 subsites (different complexity)• - Core team and Maintenance Team
Next Europa – Maintenance Team
• - WYSIWYD• - Standardised QA process• - Support to the subsites• - Support to the platform• - Smaller improvements for the subsites
Next Europa – FPFIS Board
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
Code QualityPHP Mess detectorPHP Copy/Paste detectorPHPdoxPHP Code_sniffer and Code Beautifier and FixerPHPMetrics
TestingPHPUnit (Simpletest)Behat (Gherkin)
QA tools
• - YouFocus, separate the issues to smaller unitsHuman partPair/peer programmingLearn and teach
QA tools
• - YouFocus, separate the issues to smaller unitsHuman partPair/peer programmingLearn and teach
Drupal 8
• Clean up issues based on phpcs&cbf
• Coder module is not a module anymore
• DrupalCI (Modernizing Testbot Initiative)
Thank you!
• TATAR Balazs Janos• European Commission, DIGIT
• Brussels, Belgium• [email protected]
• @tatarbj
Links #1
QA toolshttp://phpmd.org/https://github.com/sebastianbergmann/phpcpdhttp://phpdox.de/https://github.com/squizlabs/PHP_CodeSnifferhttp://www.phpmetrics.org/
Testinghttps://phpunit.de/http://docs.behat.org/en/v2.5/
Links #2
• Drupal echidna initiative• https://
www.drupal.org/project/issues/search?issue_tags=coding%20standards
• https://www.drupal.org/node/2571965
• Other links• https://www.drupal.org/node/144172• https://www.drupal.org/project/coder• https://www.drupal.org/coding-standards