# [ref_impl_eiffel] [1391] Add a unit test demonstrating that rebuilding a repository that had already been built violated a precondition that there must not be more compiled archetypes than the total number of archetypes in the repository . **Category:** [Reference Implementation: Eiffel (archive)](https://discourse.openehr.org/c/reference-implementation-eiffel-archive/161) **Created:** 2011-01-11 13:23 UTC **Views:** 9 **Replies:** 0 **URL:** https://discourse.openehr.org/t/ref-impl-eiffel-1391-add-a-unit-test-demonstrating-that-rebuilding-a-repository-that-had-already-been-built-violated-a-precondition-that-there-must-not-be-more-compiled-archetypes-than-the-total-number-of-archetypes-in-the-repository/13948 --- ## Post #1 by @svn1 Revision: 1391 Author: peter\.gummer Log Message: --- **Canonical:** https://discourse.openehr.org/t/ref-impl-eiffel-1391-add-a-unit-test-demonstrating-that-rebuilding-a-repository-that-had-already-been-built-violated-a-precondition-that-there-must-not-be-more-compiled-archetypes-than-the-total-number-of-archetypes-in-the-repository/13948 **Original content:** https://discourse.openehr.org/t/ref-impl-eiffel-1391-add-a-unit-test-demonstrating-that-rebuilding-a-repository-that-had-already-been-built-violated-a-precondition-that-there-must-not-be-more-compiled-archetypes-than-the-total-number-of-archetypes-in-the-repository/13948