Add Dexterity to the package (setup.py):
../../setup.py
Make sure dexterity is installed together with the package:
../../src/plonetraining/testing/profiles/default/metadata.xml
configure.zcml:
<includeDependencies package="." />
Create profiles/default/types directory:
$ mkdir profiles/default/types
Create Factory Type Information (FTI) for Task Type (profiles/default/types/Task.xml):
../../src/plonetraining/testing/profiles/default/types/Task.xml
Include Task FTI in Generic Setup Profile (profiles/default/types.xml):
../../src/plonetraining/testing/profiles/default/types.xml
interfaces.py:
../../src/plonetraining/testing/interfaces.py
tests/test_task.py:
../../src/plonetraining/testing/tests/test_task.py
tests/test_task.py:
../../src/plonetraining/testing/tests/test_task.py
tests/robot/test_task.robot:
../../src/plonetraining/testing/tests/robot/test_task.robot