ITSulu Blog Publisher Odoo addon
Find a file
Nicholas Riegel 8469ef8b33 Complete BDD feature file organization and add comprehensive step definitions
- Split monolithic blog_generation.feature into separate files per feature:
  * blog_generation.feature: On-demand AI blog generation (3 scenarios)
  * blog_scheduling.feature: Scheduled posts (2 scenarios)
  * llm_provider_selection.feature: Multi-provider routing (6 scenarios)
  * seo_population.feature: SEO field population (1 scenario)
  * notification_email.feature: Post-generation emails (2 scenarios)
  Total: 14 BDD scenarios covering all major workflows

- Extended test_bdd_steps.py from 363 to 472 lines with new step definitions:
  * Added no_email_sent() for draft post email suppression verification
  * Added email_contains_title() for email content validation
  * Added email_contains_social_copy() for platform copy verification
  * Added blog_post_has_tags(), blog_post_has_tag() for tag verification
  * Added blog_post_has_social_copy(), at_least_one_platform_enabled()
  * Added log_has_correct_provider(), log_has_correct_model()
  * Added log_trigger_source(), generation_duration_recorded()

Follows pytest-bdd best practices: one feature per file, each with dedicated
scenarios and step definitions. All 14 scenarios now have complete step coverage.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-05-29 12:41:24 -04:00
addons/itsulu_blog_publisher Complete BDD feature file organization and add comprehensive step definitions 2026-05-29 12:41:24 -04:00
templates Initialized from 'GitLab CI/CD components' project template 2025-03-19 11:40:54 +01:00
.gitlab-ci.yml Initialized from 'GitLab CI/CD components' project template 2025-03-19 11:40:54 +01:00
ARCHITECTURE.md Claude Sonnet 4.6 2026-05-29 01:33:30 -04:00
CLAUDE.md Added SKILL_odoo_testing_framework.md which is the Odoo Testing Framework Skill 2026-05-29 12:05:57 -04:00
LICENCE Initialized from 'GitLab CI/CD components' project template 2025-03-19 11:40:54 +01:00
main.py Claude Sonnet 4.6 2026-05-29 01:40:58 -04:00
README.md Initialized from 'GitLab CI/CD components' project template 2025-03-19 11:40:54 +01:00

Gitlab component template

Components

<Component-name>

Use this component to <component-description>.

To add this component to your CI/CD pipeline, add the following include entry to your project's CI/CD configuration:

include:
  - component: https://gitlab.com/<your project path>/<name of your template>@<tag>

Where <tag> is the release tag you want to use (releases list).

Inputs

The template contains some optional inputs:

Input Default value Description
job_name job-template The job name.
image busybox:latest The container image to use to run the job.
stage test The stage name for the job.

Documentation

This project includes a MVC structure to help you get started with Gitlab CI/CD components. The template provides the basic file structure to create your own single component. This project should be public, or one of the jobs in the project's pipeline won't work.

Licence

The licence can be changed. By default this project has the MIT Licence.