jboss-fuse / fuse-apicurito-generator

Fuse Apicurito Generator
5 stars 14 forks source link

Add a test checking that the generated project is compiling without error/warning #15

Open apupier opened 5 years ago

apupier commented 5 years ago

to check for no warning -Werror option can be used https://leonard.io/blog/2014/02/treat-java-warnings-as-errors-with-maven/

tsedmik commented 5 years ago

I believe, that it is covered with https://github.com/tsedmik/fuse-apicurito-generator-tests (see https://github.com/tsedmik/fuse-apicurito-generator-tests/blob/master/src/test/resources/com/github/tsedmik/fuse_apicurito_generator_tests/can_be_the_generated_project_build_and_run.feature). These tests are executed on daily basis.

I do not use -Werror option, but I could add it ;-)

apupier commented 5 years ago

I do not use -Werror option, but I could add it

I think it will be great (and easy to do ^^)

Why is it a side project and not including in this repository? it would allow to have faster feedback and better test coverage on each PR.