gintool / gin

GI in No Time - a Simple Microframework for Genetic Improvement
MIT License
43 stars 21 forks source link

Test Case for Examples #3

Closed drdrwhite closed 4 years ago

drdrwhite commented 7 years ago

We should add a new test case that compiles all the examples in ./examples/ and runs their tests against them.

The examples are excluded from the main source tree to ensure dynamic class loading works correctly, but this also means they're not being properly built and tested.

An alternative would be to have gradle build and test them. Unsure what's best.

codykenb commented 7 years ago

Gradle build sounds good to keep the separation, though can we test dynamic class loading via unit tests? Is gradle generally used to perform an end-to-end test of a typical GIN run?

On 27 June 2017 at 13:50, drdrwhite notifications@github.com wrote:

We should add a new test case that compiles all the examples in ./examples/ and runs their tests against them.

The examples are excluded from the main source tree to ensure dynamic class loading works correctly, but this also means they're not being properly built and tested.

An alternative would be to have gradle build and test them. Unsure what's best.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/drdrwhite/gin/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AF0t48GHDC0OTHtmknPhzKQkYCIHE4xBks5sIPqmgaJpZM4OGlQ2 .