web services - Java EE TDD starting point -
i want apply tdd java ee application.
the requirement create company name , contact details. entry point system rest , web service, depends on client.
i'm struggling find starting point write unit tests.
do start stateless companyservice
bean (rest , web service use service/bean) takes in parameters in create
method or start @ rest service , web service level , work way down, i.e. entry points?
there's books written answer can't covered in short answer, here's starting point:
you start acceptance test simple bit of user functionality, e.g. create company name via web service. use tdd create code needed satisfy acceptance test. can either 'outside-in' or 'inside-out'.
Comments
Post a Comment