Developed a general framework to estimate total test or testlet reliability with either fixed or random factors that is based on hierarchical factor analysis. Illustrates the framework with an example based on real data. (SLD)