Posted by infojunkie on December 25, 2007 at 8:28pm
Jump to:
| Project: | Views Bulk Operations (VBO) |
| Version: | 7.x-3.x-dev |
| Component: | Core |
| Category: | task |
| Priority: | normal |
| Assigned: | infojunkie |
| Status: | active |
Issue Summary
Need to create unit tests using simpletest to avoid those annoying regression bugs.
Comments
#1
#2
Yes, we need tests. For D7, primarily, but once they are there, they can always be committed to the D6 branch as well.
#3
Hey bojanz thanks for reviving this. What to test?
* Core execution with different options
* API
* UI?
#4
1) API function for running a VBO view (used by drush, etc)
2) Declare an action of each type, check that it shows up in the views options screen.
3) Select the actions in the views admin, confirm they appear on the view.
4) Check that the actions work (for this it would be best to have an action with a config form, and an action without a config form)
5) Labels and confirmation options per action.
6) Permissions
For now, assume the direct method of execution. After the initial tests are complete, test Batch API as well (I believe drupal core has an example of how that's tested).
That sounds about right. I think the first four steps shouldn't take much time, and is a great foundation to build on).
I won't be able to work on this in the next month, too much work still left on the 7.x-3.x branch. Feel free to start without me in a branch of your choosing :)