Z
Z
zasaz632015-10-11 17:04:13
Java
zasaz63, 2015-10-11 17:04:13

Java compile time and TDD?

I'm trying to apply TDD to Java. Simple Hello World project.
Its compilation time is ~4 seconds.
In TDD, as far as I understand, test run time is very important.
In total, in order to run one simple test, it takes me about 4 seconds.
Running a similar test in php takes less than a second.
How do you live with it? How to deal with it? Maybe I'm doing something wrong?
Sources on github: satahippy/gradle-demo

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FoxInSox, 2015-10-11
@FoxInSox

There is something wrong with your car. Late 2012 Macbook Pro runs your test in 0.045 seconds:
8ee0ed9384c14fec889827d5af038162.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question