java - JUnit Testing for User Interface with Database Integration in Eclipse -


i've been told test user interface via junit testing. however, how can go testing aspects of user interface such login credentials? example, want test happens if enters in wrong password. right now, password verified comparing entered password hashed password in database. unsure how test different password parameters. can done using junit testing?

i suggest junit + dbunit + spring-test

the testing problem can resolved mocking database. in point of view, it's little complex explain here, can example? https://bitbucket.org/dperezcabrera/fest-swing-test

i think can help.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -