The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

boyarsky (67) [Avatar] Offline
#1
Page 239 of the book says the test order of JUnit is defined as the order of methods in the source file. Not only that, but it calls specific attention to that "fact." As Dave Newton noted at JavaRanch this week, the JUnit FAQ specifically says the order is not guaranteed.

http://www.coderanch.com/t/504568/Testing/JUnit-there-way-order-tests
felipe.leme (18) [Avatar] Offline
#2
Re: page 239 - test order guaranteed
Good catch, we will fix it in the errata.

Thanks,

-- Felipe