#5 Add test code
Closed 2 years ago by bex. Opened 5 years ago by bex.

Add a test procedure that can be run to test a generator's outputs. For example, running fedora-business-cards fedora --test would produce an svg, eps, png, pdf and cmyk-pdf for the fedora generator using dummy user data (no FAS call).

This would be a great way to do a CI test on this code.


Any preference on what test framework to use?

edit oh my bad, you want a --test mode, not an integration test that verifies those files are actually generated. That can probably come later.

Proposed implementation: #7

Metadata Update from @bex:
- Issue assigned to salimma

5 years ago

closing this issue due to spam, age, etc. The corresponding PR is still available.

Metadata Update from @bex:
- Issue status updated to: Closed (was: Open)

2 years ago

It appears that this issue was originally about adding a simple-- test mode to generate sample output files (SVG, EPS, PNG, PDF, and CMYK-PDF) using dummy data. A proposed implementation was made, but over time, the issue went stale and was eventually closed due to age and spam. However, the related PR is still accessible if anyone wants to revisit the idea.

Log in to comment on this ticket.

Metadata