These are the docs I was looking at for testing <http://dropwizard.readthedocs.io/en/latest/manual/testing.html>
El lunes, 23 de octubre de 2017, 0:29:43 (UTC-4), Anna Goncharova escribió: > > Hi, > > I set up my Dropwizard app following some tutorials online (listed in > READMEs of my app). Now, I would like to start testing the database layer, > with directly saving and updating items in the database. I was reading > through the following page to set up the testing environment, with > importing the *drowizard-testing* dependency and setting up the simple > test class using the *DAOTestRule*. However, *DAOTestRule* class isn't > getting found by my IDE, IntelliJ, so I am not sure how to import that and > proceed with the testing. > > If that isn't an option, does anyone have recommendations for appropriate > tutorials for using Hibernate with Dropwizard and directly testing CRUD > operations on data and a MySQL instance? > > This is my first time working with these technologies, so I would really > appreciate some help! Will be forever grateful and send Interwebz love > points. Here is the link to the line of code in question and the branch I > am working off of > <https://github.com/agoncharova/pa1/blob/agoncharova-add-tests-and-new-sql/src/test/java/com/databases/photoapp/core/TagDAOTest.java#L12> > . > > Thank you! > Anna Goncharova > > > -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
