-
Notifications
You must be signed in to change notification settings - Fork 12
Testing Methods
Shawn Clake edited this page Apr 4, 2017
·
17 revisions
- Follow the steps in order.
- Remove all users from the users table
- Remove all entries in users_groups and user_groups
- Run
php artisan plugin:refresh clake.userextended
- Check whether user_groups tbl has been seeded
- Check whether fields tbl has been seeded
- Create an arbitrary plugin
php artisan create:plugin test.tests
- Test scaffolding
php artisan create:uemodule test.tests
Expected: Create's a templated Module.php file for the test.tests plugin
- Test search results
- Test profile pages
- Test random user list
- Test loading the Role Manager
- Test editing a group
- Test UserExtended Settings Page
- Test loading the Fields Manager
- Test registering a single user, logging in, updating their settings, and logging out
- Does system log track events such as user login, logout, and account updates?
- Test viewing their profile and leaving a comment on their own profile. Do relative timestamps work?
- Try switching the User Template option to "Custom/Social" and view a profile to confirm templates work.
- Test creating 1 role in RoleManager and assigning it to many different groups as well as editing it.
- Test creating 1 additional group and editing it
- Test creating a field with no validation
- Test creating a field with all types of validation
- Test creating 4 realistic fields: Address, Phone Number, Pin Code, Credit Card #
- Register an additional 3 users. Try logging in, logging out, and updating. Does the users table show the settings and properties correctly?
- Do settings follow their validations and throw a correct error if they're wrong?
- Do avatars show up on frontend pages or the default avatar if the user doesn't have an avatar?
- Try visiting each users profile as other users. Try adding users as friends and then leaving comments on other users profiles. Are the timestamps correct?
- Does system log track events such as freind requests, accepts, declines, and blocking a user?
- Are relative timestamps working?
- Try deleting friends
- Try displaying user lists and friend requests
- Create many roles
- Try assigning users to groups and unassigning them from groups.
- Assign the new roles to groups.
- Assign users to those new roles and then remove users from the group. Does it break or are they removed from the role as well?
- Test Drag and Drops for all 4 sections in the Role Manager
- Test editing all 6 created fields. Change codes, descriptions, names, checkboxes, validations
- Test deleting fields.
- Shawn Clake
- Quinn Bast
- Shawn Clake
- Quinn Bast
Testing version 0.21
UserExtended by Shawn Clake with contributions from Quinn Bast