Skip to content

Commit

Permalink
Add tests for main models
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel authored and Maria Lorena Rodriguez Viruel committed Oct 19, 2023
1 parent 3e2d808 commit 1a07e87
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions models/brac/brac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
version: 2

models:
- name: brac_hmis
columns:
- name: uuid
tests:
- not_null
- unique
- name: households_registered
tests:
- not_null
- name: num_of_hh_visited
tests:
- not_null
- name: num_of_hh_bed_nets
tests:
- not_null
- name: num_of_hh_latrines
tests:
- not_null
- name: num_of_hh_safe_water
tests:
- not_null
- name: num_of_comm_members
tests:
- not_null
- name: num_of_health_forum
tests:
- not_null
- name: num_pregnant_care
tests:
- not_null
- name: num_pregnant_identified
tests:
- not_null
- name: num_facility_deliveries
tests:
- not_null
- name: num_home_deliveries
tests:
- not_null
- name: brac_kpis
columns:
- name: chp_uuid
tests:
- not_null
- unique
- name: count_all_assessments
tests:
- not_null
- name: u5_malaria_treatment
tests:
- not_null
- name: u5_diarrhea_treatment
tests:
- not_null
- name: u5_pneumonia_treatment
tests:
- not_null
- name: u1_malaria_treatment
tests:
- not_null
- name: u1_diarrhea_treatment
tests:
- not_null
- name: u1_pneumonia_treatment
tests:
- not_null

0 comments on commit 1a07e87

Please sign in to comment.