Wednesday, 20 October 2010

Acceptance Criteria Considerations


Projects have common  attributes and so we can take a generic approach to 
defining ACs.

These should be reviewed at frequent intervals.


Requirement
Explanation
Agile
Is Story small enough, are we buidling steel thread / highest value first, are we building the musts first and then re-prioritises future stories over iteration.
Complete
Are there Stories/Acs for; app-wide, business domain, technology domain
New functionality
AC / Story Tests. Modelling techniques: pictures, decision table, flow chart, state transitions, mind mapping, persona analysis, value, risk, changed areas, CRUD, 2d matrix, scenario matrix
Existing functionality
Key regression (may not exist in auto suite), check current behaviour still works, riskiest
Testable 
Automatable (ID/class), CI, back-end deterministic, components separate(bus services, web components), data (e.g. cc, address, accounts) and envs set-up.
Integratable
Integ Matrix  by user app flow incl apps not being worked upon (e.g, sso, maint, feeds, email), and by by technical layer (gui,app,db).
Code invoked
Coverage, reports
Usable (UI)
Access, Copy, Style, Flow, Help, Errors, Alt, focus, print
Legal
Wording, disclaimers, audit, CMS
Demo-able
For UAT and to Sales
Unambiguous
Bus rules;  number precision, rounding, boundary cases, min/max field size, min/max field value, combo cases, bus logic, date logic, case, blanks, nulls, equiv part, gherkin
Usage Profile
Multiple users, concurrent, multi-browsers
Securable
Htps, pwd format/expiry, audit, penetration, app timeout, manual cache update, firebug
Transaction
Undo, multi updates, commit at end, cookies, status, back/forth, bookmark, return after help/register, back button .. sensitive data cleared, selection/data preservation over nav and F5, logout clears, url without authentication, direct to url, can add second
Persistence
Client history, client recs, save quote, cancel/undo, across page navigation, backup/restore
Customisable
By client & devs, separate UI/Bus logic
SLA
Responsive, failover, under load, intense user action,  mass users,24*7,band width, capacity
Efficient
CPU, Memory (benchmarked), time, server/client caching
Scalable
Users, components, capacity, documented
Errors
Behaviour,  text , app after error, restart, multi errors
Asynchronous
What needs to be handled.
Configurable
Properties, default values, table maint. Copy (CMS)
Consistent
Other approaches in app, and in industry
Auditable
Logs  (errors, business, tech, performance, permission changes, SLA, usage, metrics)
Supportable
Technology/tools selection, licenses
Distributable
Client time vs server time (sss vs css)
Localisation
Language, GMT/BST, permissions, diff view
Documented
Off/online docs, release notes, read-me
Installable
Packaged, versioned, backward compat, migration test, same as tested vers, client config, auto built,  can fallback , tested with itegrated sys
Portable
O/S, browser, PDA, text only, support non JS, non cookies
Robust
Outages,  network, cc auth failure, , missing/malformed input, site down msg, over midnight, clock change
Housekeeping
Archiving/purging
Re-usable
API component tests, lower level Story Test
Releasable / Quality Measurable
Metrics .. code and funct coverage, build, regression, code/bug reviews, compatibility, cpu/mem/time benchmarks, thresholds, UAT/UX sign-off, community test, Test results (auto), check-ins doc’d
Costed
QA est, prioritise; riskiest, steel thread, most value
User config
Scripting disabled, clear cache