This test will require a fair bunch of data to be created by and for different users.
Data to create
Competency frameworks & competencies
Learning plan templates & associated competencies
User plans based off templates
Individual user plans & associated competencies
Associating competencies with courses & modules
Rating competencies for users in courses
Rating competencies for users from plan
Completing a plan, and rating same competencies in another plan
Associating a reviewer with plans and competencies
Evidence of prior learning & associated competencies
It is important that the user creating, linking, editing, etc... are different. It's also important that the learners are different. For example, a user course create a learning plan and associating another competency, and another user will add one more competency. In their reports, the first user will see that they created the plan and linked the competency. The other user will see that they linked a competency to plan, but they did not create such plan.
Test
Use this script to export the data for the different user accounts used. Ensure that only relevant data is exported.
Request for the data to be deleted, and confirm that the behaviour is intended.
This test will require a fair bunch of data to be created by and for different users.
Data to create
Competency frameworks & competencies
Learning plan templates & associated competencies
User plans based off templates
Individual user plans & associated competencies
Associating competencies with courses & modules
Rating competencies for users in courses
Rating competencies for users from plan
Completing a plan, and rating same competencies in another plan
Associating a reviewer with plans and competencies
Evidence of prior learning & associated competencies
It is important that the user creating, linking, editing, etc... are different. It's also important that the learners are different. For example, a user course create a learning plan and associating another competency, and another user will add one more competency. In their reports, the first user will see that they created the plan and linked the competency. The other user will see that they linked a competency to plan, but they did not create such plan.
Test
Use this script to export the data for the different user accounts used. Ensure that only relevant data is exported.
Request for the data to be deleted, and confirm that the behaviour is intended.
Run `core_competency` unit tests