[
https://issues.apache.org/jira/browse/THRIFT-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14124453#comment-14124453
]
Konrad Grochowski commented on THRIFT-2692:
-------------------------------------------
my changes add new Makefile and folder for tests in compiler directory
to allow unit testing of generators all of them were extracted to separate
library. unfortunately that requires explicit references from executable to
globals in library, so registering new generator is now a little more
complicated but imho tests are more important
as an example I've extracted (using TDD ;) ) some part of t_generator, added
test for it and commited it
> Allow unit testing of compiler parts
> ------------------------------------
>
> Key: THRIFT-2692
> URL: https://issues.apache.org/jira/browse/THRIFT-2692
> Project: Thrift
> Issue Type: Improvement
> Components: Build Process, Compiler (General)
> Reporter: Konrad Grochowski
>
> Currently whole compiler builds as single executable. To allow unit testing
> compiler has to be split into libraries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)