This change add a basic folder structure for the plugin. In the src tree the following folders are created views: the django application views api: the apis exposed to the the views datasource: a module to encapsulate how data is retrived static: static content including any javascript templates: django templates the tests folder are extened to also add functional tests. unit tests test indiviual functions within a single module mocking most of there depencies. i.e. any calls into horizon. functional tests will prefer less mocks allowing more complciate logic but will not requrie an external web server to host the plugin. later cypress tests will be added to test end to end functionaltiy. The atoms of the plugin shoudl be tested with unit tests The workflows and over all logic with funtional tests The end to end functionality with cypress tests. each will build on each other with more complexity but getting closer and closer to the end user workflow. While the cypress tests will likely use the fake datasouce it will not use any mocking. Change-Id: I091d42c669f8320c6eee2d13bfc6abdde3d27d5c
16 lines
397 B
YAML
16 lines
397 B
YAML
- project:
|
|
# Please try to keep the list of job names sorted alphabetically.
|
|
templates:
|
|
- check-requirements
|
|
- publish-openstack-docs-pti
|
|
- release-notes-jobs-python3
|
|
- openstack-python3-jobs
|
|
check:
|
|
jobs:
|
|
- openstack-tox-pep8
|
|
- openstack-tox-functional
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-pep8
|
|
- openstack-tox-functional
|