Hello everyone, I have an implementation for the DGet and DMin functions that I'd like to get into POI. I don't have tests yet and am unsure what the best way to write those is. After a quick look at how the other functions do their tests it seems that they usually mock up the inputs for testing. The setup for using D* functions is rather complex (requiring a set of cells as database), thus mocking all of that up in Java seems complex and error prone. Should I still try to do this using mocks or are there other possibilities? Mit freundlichen Grüßen Patrick Zimmermann IT-Abteilung
HALTEC Hallensysteme GmbH Standort Stuttgart Talstraße 5 D-70825 Korntal-Münchingen Tel.: +49 (0) 711 86 03 69-56 Fax: +49 (0) 711 86 03 69-59 [email protected] www.haltec.de <http://www.haltec.de/> Sitz der Gesellschaft: Hemer, Amtsgericht Iserlohn HRB 2135 Geschäftsführer: Thomas Arens, Jens Geißner, Markus Speck
