hello i want to hook Drupal 8 up to Jenkins/Sonar and get metrics. Can i have some documentation for your module, getting started, tutorial etc. thanks.
hello i want to hook Drupal 8 up to Jenkins/Sonar and get metrics. Can i have some documentation for your module, getting started, tutorial etc. thanks.
Comments
Comment #1
sylvain lecoy commentedHello, we are actually in the process of integrating it directly to core, this module namespace may disappear.
You might have a look at the following issues:
Comment #2
Syntapse commentedmany thanks. whats going to happen to the Testing module currently shipping with Drupal 8. Are you modifying or replacing it?
Comment #3
sylvain lecoy commentedThis module gonna release a back-ported version of the Testing module shipping with Drupal 8 for Drupal 7.
The plan for the simpletest module currently living in Drupal 8 is to keep it, and live with two frameworks: PHPUnit and Simpletest, then completely remove the Simpletest framework in Drupal 9.
Comment #4
Syntapse commentedIs Drupal core team generating and tracking software metrics? What formats? Do you have a Sonar Nemo repository or similar available to community. Do you have any useful jenkins/sonar/maven templates for hooking up to core devel? Whats most useful granularity? Per-module? Per module group? Are there plans for a Drupal core continuous integration/deployment or is that already in effect? Thank you.
Comment #5
sylvain lecoy commentedDupal core team does not track software metrics, however, you may have a look at http://qa.drupal.org/ where DRUPAL-HEAD is tested via a jenkins server continuously and on a per-issue basis.
Maven is not compatible with drupal modules, I tried with no success to implement a good workflow. You can set-up a very simple jenkins job by running scripts/run-test.sh shipped with Drupal 7. I also tried to implement it with sonar (D7-head and D8-dev) but the sonar plugin could not walk into the code correctly.
For your information, I am using a jenkins server with both PHP Unit - unit and db - tests and simpletest (functional and integration) tests. Software metrics like coverage or technical debt is something very new to Drupal and although i'm trying to promote it, I think this will only come in 3 or 4 years when Drupal 8 will be out and development for Drupal 9 will start.
Comment #6
Syntapse commentedwhat is the QA site made of? Is that Drupal running itself displaying own tests? how that working? not as nice looking as nemo/sonar.
Comment #7
Syntapse commentedis this a simpletest module running? will this be converted to phptest for d8? like to know more about future of testing...
Comment #8
sylvain lecoy commentedThe QA Site is made of a drupal site with custom modules (these are open-sourced) controlling a jenkins server.
The suit runs the run-tests.sh script using simpletest module.
If this will be converted to phpunit in d8, no one can know for sure at this very moment, but this will be likely the case.