https://github.com/bluedynamics/bda.plone.ticketshop
Sell tickets for events
https://github.com/bluedynamics/bda.plone.ticketshop
Last synced: about 1 year ago
JSON representation
Sell tickets for events
- Host: GitHub
- URL: https://github.com/bluedynamics/bda.plone.ticketshop
- Owner: bluedynamics
- License: other
- Created: 2013-06-05T14:41:08.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T07:28:55.000Z (almost 9 years ago)
- Last Synced: 2025-02-03T18:38:50.383Z (over 1 year ago)
- Language: Python
- Size: 189 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.rst
Awesome Lists containing this project
README
====================
bda.plone.ticketshop
====================
Shop for selling Tickets to Events based on ``plone.app.event`` and
``bda.plone.shop``.
Userstory
=========
* An ``Event`` gets created with or without recurrence rule.
* Inside this Event one or more ``Ticket`` objects are created. For each event
occurrence a ``TicketOccurrence`` gets created inside the ticket object.
* If event view shows the main event, main ticket objects are available to
buy.
* If event view shows an occurrence of the event, the corresponding
ticket occurrence objects are available to buy.
* If event recurrence rule is changed, ticket occurrences keep untouched.
A re-mapping of the ticket ocurrence to an event occurrence must happen
manually if desired by setting the corresponding start and end dates.
Content Structure
=================
* Buyable Event (Recurring Event)
* Ticket (Buyable)
* Ticket Occurrence (Buyable)
- Ticket occurrence information equates event occurrence
information
Running tests
-------------
If you have run the buildout, you can run all tests like so::
./bin/test -s bda.plone.ticketshop
The -t switch allows you to run a specific test file or method. The
``--list-tests`` lists all available tests.
To run the robot tests do::
./bin/test --all -s bda.plone.ticketshop -t robot
For development, it might be more convenient to start a test server and run
robot tests individually, like so (-d to start Zope in DEBUG-MODE)::
./bin/robot-server bda.plone.ticketshop.tests.TicketshopAT_ROBOT_TESTING -d
./bin/robot src/bda/plone/ticketshop/tests/robot/test_shop_orderprocess.robot
To automatically land in the debug shell on test-failure, use::
./bin/robot-debug src/bda/plone/shop/tests/robot/test_shop_orderprocess.robot