Project

General

Profile

Actions

Feature #24294

closed

add snapshot tests for templates

Added by Timo Goebel over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
-
Fixed in Releases:
Found in Releases:

Description

We should add a rake task to record snapshots of some templates and add tests to compare the current renderer output to the tests. This should prevent regressions.


Related issues 2 (0 open2 closed)

Related to Foreman - Refactor #22529: Refactor Template rendering to use a proper rendering serviceClosedTimo GoebelActions
Related to Foreman - Bug #25091: LoadError: cannot load such file -- database_cleaner when running foeman-rake on production DEBsClosedOhad LevyActions
Actions #1

Updated by Timo Goebel over 5 years ago

  • Related to Refactor #22529: Refactor Template rendering to use a proper rendering service added
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5986 added
Actions #3

Updated by Lukas Zapletal over 5 years ago

  • Fixed in Releases 1.20.0 added
Actions #4

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Anonymous over 5 years ago

  • Related to Bug #25091: LoadError: cannot load such file -- database_cleaner when running foeman-rake on production DEBs added
Actions #6

Updated by The Foreman Bot over 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/6101 added
Actions

Also available in: Atom PDF