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)
Support from Acquia helps fund testing for Drupal Acquia logo

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

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.