Actions

Testing Area/Behat Testing/Data set up

From Mahara Wiki

< Testing Area‎ | Behat Testing
Revision as of 14:05, 8 Haziran 2020 by Anitsirk (talk | contribs) (Anitsirk moved page Testing/Behat Testing/Data set up to Testing Area/Behat Testing/Data set up: Consolidating where testing pages sit)

Data set up

The behat test.feature is a template that can be used to pre-populate the database with:

Name Compulsory fields
user username, password, email, firstname, lastname
groups name, owner
personalinformation username, password
goals and skills user, goaltype/skilltype, title
interests user, interest
coverletters user, content
educationhistory user, institution
employmenthistory user, startdate, employer, jobtitle
contactinformation user, email
achievements user, date, title
books and publications user, date, title, contribution
professionalmemberships user, startdate, title
forums title, description, group, creator
forumposts group, user, message
pages title, ownertype, ownername
collections title, ownertype, ownername
journals ownertype, owner, title
Example Example
Example Example
Example Example