Giter Club home page Giter Club logo

test-plugin's Introduction

Test Plugin

This is a UI test plugin for October CMS.

Installation Instructions

Before installing this plugin, you will need to change your minimum stability to dev with composer.

composer config minimum-stability dev

Run the following to install this plugin:

php artisan plugin:install October.Test --from=https://github.com/octobercms/test-plugin

If you already have this plugin installed and need to update the database schema, run this command:

php artisan plugin:refresh October.Test

To uninstall this plugin:

php artisan plugin:remove October.Test

Tests

The following sections are explored, tested and demonstrated along with a list of the features used:

Test 1: People

A Person "Has One" Phone (One to one relationship)

  1. Relation Controller
  2. Record Finder
  3. Proxy Form fields
  4. Date pickers
  5. Context-based Form fields

Test 2: Posts

A Post "Has Many" Comments (One to many relationship)

  1. Relation Controller
  2. Popup-based Form fields
  3. Rich Editor
  4. Dual Form Controller and List Controller
  5. HTML in comments
  6. Custom Delete workflow
  7. Repeater fields in comments popup

Test 3: Users

User "Belongs To Many" Roles (Many to many relationship)

  1. Relation Controller (Standard, Pivot data, Pivot model)
  2. Image Uploaders (Single, Multi, File, Image)
  3. Number field
  4. No click list column
  5. Custom File model
  6. Form field partial
  7. Tag List in relation mode

Test 4: Locations

  1. City "Has Many" Locations
  2. City "Belongs To" Country
  3. Location "Belongs To" Country
  4. Location "Belongs To" City

Countries

A Country "Has Many" Posts "Through" a User (Has many through relationship)

  1. Checkbox list
  2. Default form field values
  3. Field dependency and filtering
  4. Repeater fields
  5. Tabs empty with no fields
  6. Sister Countries test for related repeaters

Cities

A City "Belongs To" a Country and "Has Many" Locations.

Test 5: Reviews

  1. Reviews "Morph To" Plugins and Themes as Product (Polymorphic relationships)
  2. Meta "Morph To" Plugins and Themes as Product (Polymorphic relationships)
  3. Plugins and Themes "Morph Many" Reviews
  4. Plugins and Themes "Morph One" Meta
  5. Plugins should not create when Meta validation fails.

Test 6: Trees

  1. A Member uses a simple tree (parent-child) structure.
  2. A Category uses a simple tree structure, with sorting.
  3. A Channel uses a nested set tree structure.

Test 7: Galleries

  1. Galleries are "Morphed By Many" Posts
  2. Posts "Morph To Many" Galleries

Test 8: Pages

  1. Page "Belongs To" Layout

Test 9: Product

  1. Product

General Tests

Uncategorized tests

Attributes

An Attribute is a single generic model with many relationship types.

  1. Posts "Belong To" (Attribute) Status (general.status).
  2. Countries "Belong To Many" (Attribute) Types (general.types).

Repeater Items

  1. Relational Repeater tests

test-plugin's People

Contributors

daftspunk avatar octoberapp avatar samgeorges avatar luketowers avatar bennothommo avatar jimcottrell avatar seanthepottingshed avatar alxy avatar meysammahfouzi avatar rubenvanerk avatar blubcow avatar gergo85 avatar almusamim avatar chvuagniaux avatar eoler avatar ternavsky avatar arekusei avatar herlevsen avatar larrybarker avatar lucaszdv avatar mjauvin avatar robinbonnes avatar scottbedard avatar canthis avatar tobias-kuendig avatar vicrly avatar jacobdekeizer avatar munxar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.