In my C tests, I have "pass" and "fail' directories inside my "schema_tests" directory. This approach allows the schema test to easily be extended without modifying any code (for example, yesterday Eli dropped in some RPC schema tests into "pass" directory and re-ran the tests which automatically pulled in the new schemas to test). I'd recommend we consider using the approach more generally.
I'm +1 on using the less pedantic "schemas" over "schemata". -Matt On Thu, Nov 19, 2009 at 9:41 AM, Doug Cutting <cutt...@apache.org> wrote: > Jeff Hammerbacher wrote: > >> Would it make sense to extract these schemas into files under >> test/schemata/ and >> pull them in for the tests in each language? >> > > Yes, that makes sense. Also, Matt's C json test suite could probably be > shared with C++, since both implement json parsers. > > Note that after AVRO-163 these will go in src/share. Elsewhere in the > project (e.g., in the spec) we avoid the pedantic "schemata". Should we > avoid it here, naming this src/share/schemas, or stick with it? > > Doug >