As title.

CommentFileSizeAuthor
#3 add_basic_test-3085990-3.patch2.23 KBlolandese

Comments

lolandese created an issue. See original summary.

lolandese’s picture

Priority: Normal » Major
lolandese’s picture

Status: Active » Needs review
StatusFileSize
new2.23 KB

The attached patch adds a working boilerplate basic functional test.

lolandese’s picture

Status: Needs review » Reviewed & tested by the community
martin@martin-XPS-13-9370 /var/www/html/d9.localhost $ sudo -u www-data ./vendor/bin/phpunit -c ./web/core ./web/modules/contrib/autofloat/ --debug --printer="\Drupal\Tests\Listeners\HtmlOutputPrinter"
PHPUnit 8.5.3 by Sebastian Bergmann and contributors.

Testing ./web/modules/contrib/autofloat/
Test 'Drupal\Tests\autofloat\Functional\AutofloatTest::testLoad' started
Test 'Drupal\Tests\autofloat\Functional\AutofloatTest::testLoad' ended


Time: 11.1 seconds, Memory: 8.00 MB

OK (1 test, 8 assertions)

HTML output was generated
http://d9.localhost/sites/simpletest/browser_output/Drupal_Tests_autofloat_Functional_AutofloatTest-1-28108239.html
http://d9.localhost/sites/simpletest/browser_output/Drupal_Tests_autofloat_Functional_AutofloatTest-2-28108239.html
http://d9.localhost/sites/simpletest/browser_output/Drupal_Tests_autofloat_Functional_AutofloatTest-3-28108239.html
http://d9.localhost/sites/simpletest/browser_output/Drupal_Tests_autofloat_Functional_AutofloatTest-4-28108239.html
http://d9.localhost/sites/simpletest/browser_output/Drupal_Tests_autofloat_Functional_AutofloatTest-5-28108239.html

  • lolandese committed 8ae7735 on 8.x-1.x
    Issue #3085990 by lolandese: Add a test
    
lolandese’s picture

Status: Reviewed & tested by the community » Fixed

Enabled automated testing on the project: https://www.drupal.org/node/1675006/qa

lolandese’s picture

Status: Fixed » Needs work

Extend with testing:

  • settings form submission
  • a generated node on correct floating the images and skipping those excluded.

  • lolandese committed 58e521b on 8.x-1.x
    Issue #3085990 by lolandese: Test deprecation notices