dsa-ntc / actionkit-template-renderer

ActionKit template utilities (MoveOn fork)
MIT License
2 stars 0 forks source link

Implementing tests for code #15

Open schlich opened 8 months ago

schlich commented 8 months ago

Goal: Even though we want to do as little as necessary to get dues out, we want to make sure we are doing so with quality. This ticket is about testing.

icemoon4 commented 5 months ago

Models for MVP (based on the existing templates we have already):

There may be more that need to be added to this list, so far this is just relevant to the links that appear on the homepage.

icemoon4 commented 5 months ago

Converted some of the context sample data into serializers that could be loaded in the views. Also created fixtures with sample data for the models listed above.

icemoon4 commented 5 months ago

Wrote one basic test for the recurring update page (checks that the expected $ amount appears on the page). May need more context on tests we want to implement.

erikdstock commented 5 months ago

Amazing, great, thank you!