how to write an acceptance test code example

Example 1: what is user acceptance testing

What is UAT?
User Acceptance Testing (UAT) 
is a type of testing performed 
by the end user or the client to 
verify/accept the software system 
before moving the software application 
to the production environment.
UAT is done in the final phase of testing 
after functional, integration and 
system testing is done.

Example 2: how to write acceptance criteria

what is AC-
AC are conditions which will tell us 
whether specific criterias are met so we
consider user story is DONE.


Example of AC-

As customer I should be able to pay with credit card
so I dont have to pay cash

AC-
-USER SHOULD BE ABLE TO PAY WITH VISA CARD
- ""    ""   ""    ""       ""   MASTER CARD
- ""             ""         ""   AMEX CARD

USER SHOULD BE ABLE TO PAY WITH ANY THIS 3 TYPE OF
CREDIT CARD BY ENTERING CARD OWNER NAME, CARD NUMBER
AND EXPIRATION DATE AND SECURITY CODE

Tags:

Misc Example