TODO:

  1. Update unit tests of the ViewsBulkOperationsBatch class.
  2. Provide basic functional test for the Views Bulk Operations views row plugin.
    • Add unit tests for module API: altering action definitions, providing contrib views data - postponed, those are simple event subscribers.
    • Add a functional test case that will include use of the Drupal\views_bulk_operations\Controller\ViewsBulkOperationsController class: executing an action with batching but without configuration and confirmation steps.
    • Basic test of action processing.
    • Entity translation check.
    • Configuration and confirmation form tests.
    • Batching test.
    • Tests of "pass view" and "pass context" functionalities.
  3. Replace deprecated BrowserTestBase assertions with relevant WebAssert methods.
  4. Create unit tests of the views_bulk_operations.processor service class. (obsolete - covered by functional tests)
CommentFileSizeAuthor
#13 vbo-automated-tests-2889679-13.patch6.04 KBgraber

Comments

Graber created an issue. See original summary.

graber’s picture

Status: Active » Needs work
graber’s picture

Priority: Normal » Major
graber’s picture

Issue summary: View changes

  • Graber committed 4c09a69 on 8.x-1.x
    Issue #2889679 by Graber: Updated unit tests for...
graber’s picture

TODO:

  1. Update unit tests of the ViewsBulkOperationsBatch class.
  2. Provide basic functional test for the Views Bulk Operations views row plugin.
  3. Create unit tests of the views_bulk_operations.processor service class.
graber’s picture

Issue summary: View changes
graber’s picture

Issue summary: View changes

  • Graber committed e99b087 on 8.x-1.x
    Issue #2889679 by Graber: Added an advanced functional test: batching +...
graber’s picture

Issue summary: View changes

  • Graber committed 2c7f6e9 on 8.x-1.x
    Issue #2889679: Updated functional test to work with Drupal 8.4+
    
graber’s picture

Issue summary: View changes
graber’s picture

StatusFileSize
new6.04 KB

Fixed a certain case PHP notice, added "select all" functionality test, updated deprecated code.

  • Graber committed 6106b1c on 8.x-1.x
    Issue #2889679: Fixed certain case PHP notice, added select all test,...
graber’s picture

Issue summary: View changes

  • Graber committed 1551c98 on 8.x-1.x
    Issue #2889679 by Graber: Added ViewsBulkOperationsController coverage....
graber’s picture

Issue summary: View changes
graber’s picture

Issue summary: View changes
graber’s picture

Issue summary: View changes
graber’s picture

Assigned: graber » Unassigned
Parent issue: » #2926402: Plan for 8.x-1.0-rc1
graber’s picture

Issue summary: View changes
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.