black ops testing workshop from agile testing days 2014

58
Black Ops Testing Workshop Agile Testing Days Tony Bruce Steve Green Alan Richardson

Upload: alan-richardson

Post on 06-Jul-2015

3.722 views

Category:

Software


0 download

DESCRIPTION

At Agile Testing Days 2014. Steve Green, Tony Bruce and Alan Richardson hosted a double track Black Ops Testing workshop, where Redmine was the target application. Find out more about the Black Ops Testing Team: http://blackopstesting.com/page/about.html

TRANSCRIPT

Page 1: Black Ops Testing Workshop from Agile Testing Days 2014

Black Ops Testing Workshop

Agile Testing Days

Tony BruceSteve Green

Alan Richardson

Page 2: Black Ops Testing Workshop from Agile Testing Days 2014

January 2015 Workshop, London

www.BlackOpsTesting.com

Page 3: Black Ops Testing Workshop from Agile Testing Days 2014

Introduction● 3 * 5 minute lightning talks● We expect you to test stuff● We will coach & ask questions as you test● We may periodically debrief

Page 4: Black Ops Testing Workshop from Agile Testing Days 2014

What you are about to test● Redmine

○ www.redmine.org● Project Planning App

○ GUI, Rest API, Feeds, DB, Web Server

Page 5: Black Ops Testing Workshop from Agile Testing Days 2014

Alan’s Bit at the start● Model, Observe, Interrogate, Reflect,

Manipulate● Tools help me observe and manipulate● Note Taking

Page 6: Black Ops Testing Workshop from Agile Testing Days 2014

A model of how Alan tests● Model

○ What I think I understand. Different viewpoints.● Observe

○ at different points to corroborate/invalidate model● Reflect

○ find gaps, lack of depth, derive intent● Interrogate

○ Focussed, deep dive observation with intent● Manipulate

○ Hypothesis exploration and “how we do stuff”

Page 7: Black Ops Testing Workshop from Agile Testing Days 2014

Tools help me...… Observe and Manipulate

Page 8: Black Ops Testing Workshop from Agile Testing Days 2014

Browser

Page 9: Black Ops Testing Workshop from Agile Testing Days 2014

Risks

Page 10: Black Ops Testing Workshop from Agile Testing Days 2014

Tools

Page 11: Black Ops Testing Workshop from Agile Testing Days 2014

...extend the model

Page 12: Black Ops Testing Workshop from Agile Testing Days 2014

Note Taking● Why:

○ Questions, Ideas, Risks, etc.● What:

○ ToDos, Issues, Observations, Notes, etc.

● When:○ Timestamps, sequential order

● Where:○ urls, environment, users, etc.

● How:○ commands, methods,

tools used, etc.

Evidence: ● logs, screenshots, output, files,

etc.

Page 13: Black Ops Testing Workshop from Agile Testing Days 2014

Tony’s bit● Test ideas● Tools● Information & Intelligence

Page 14: Black Ops Testing Workshop from Agile Testing Days 2014

Explore for test ideasPrep- Notes- Summary- Important bits

- Ideas- Comments- Questions- Thoughts- Six Honest Men

"I Keep Six Honest Serving Men ..."I KEEP six honest serving-men(They taught me all I knew);Their names are What and Why and When And How and Where and Who.…….. Rudyard Kipling

Page 15: Black Ops Testing Workshop from Agile Testing Days 2014

ToolsBrowser- Add-ons- Extensions - Developer tools -

Others- Accessibility- Security - Debugging -

Page 16: Black Ops Testing Workshop from Agile Testing Days 2014

Leadership Under Pressure: Tactics from the Front Line Bob Stewart

Page 17: Black Ops Testing Workshop from Agile Testing Days 2014

Information

Page 18: Black Ops Testing Workshop from Agile Testing Days 2014

Steve’s bitWhat are we going to test?● What’s new?● What’s changed?● What’s important?● What are known buggy areas?● What has not been tested previously?

Page 19: Black Ops Testing Workshop from Agile Testing Days 2014

What are we going to test?

Page 20: Black Ops Testing Workshop from Agile Testing Days 2014

What might be difficult?

Page 21: Black Ops Testing Workshop from Agile Testing Days 2014

What might be difficult?● How can we create enough data?● How can we test time-related features?● How do we know if the right thing

happened?

Page 22: Black Ops Testing Workshop from Agile Testing Days 2014

Lightning Talk DebriefExtras?Questions? Comments?

Page 23: Black Ops Testing Workshop from Agile Testing Days 2014

Collaboration Rules● Don’t load test the app, we are all using it

○ If you accidentally bring it down through a clever test then that’s fine,

● Don’t change data you didn’t create

Page 24: Black Ops Testing Workshop from Agile Testing Days 2014

Where is the app?● You can install it locally if you want

○ http://redmine.org● You can get an install or VM from bitnami

○ https://bitnami.com/stack/redmine● You can use the redmine demo

○ http://demo.redmine.org/● You can use our server

○ ….

Page 25: Black Ops Testing Workshop from Agile Testing Days 2014

Where is the app?

● Links removed as only valid at the time we conducted the workshop

Page 26: Black Ops Testing Workshop from Agile Testing Days 2014

Testing Phase 1● Consider what we said● Test the app in new ways, take notes, try

new tools● Black Ops Team will mingle - do ask for help● We will debrief prior to the break

Page 27: Black Ops Testing Workshop from Agile Testing Days 2014

“...no plan of operations extends with any certainty beyond the first contact with the main hostile force.”

Field Marshall Helmuth Carl Bernard Graf von Moltke, 1871

Page 28: Black Ops Testing Workshop from Agile Testing Days 2014

Test the **** out of Redmine

Page 29: Black Ops Testing Workshop from Agile Testing Days 2014

Hints...Are you monitoring the HTTP traffic?Have you changed the DOM?Cookies?Internationalisation?Logged issues?...

Page 30: Black Ops Testing Workshop from Agile Testing Days 2014

DebriefObservationsQuestions

Page 31: Black Ops Testing Workshop from Agile Testing Days 2014

Break (30 mins)Feel free to carry on testing if you want

Page 32: Black Ops Testing Workshop from Agile Testing Days 2014

Testing Phase 2● You tell us

Page 33: Black Ops Testing Workshop from Agile Testing Days 2014

Interrupt 1Structure your data to make testing easier.● Unique values (where possible)● Sequenced

Page 34: Black Ops Testing Workshop from Agile Testing Days 2014

Interrupt 2Testing maxlength and truncation.

Page 35: Black Ops Testing Workshop from Agile Testing Days 2014

Interrupt 2Testing maxlength and truncation.0005x0010x0015x0020x0025x0030x0035x0040x0045x0050x0055x0060x0065x0070x0075x0080x0085x0090x0095x0100x0105x0110x0115x0120x0125x0130x0135x0140x0145x0150x0155x0160x0165x0170x0175x0180x0185x0190x0195x0200x0205x0210x0215x0220x0225x023

Page 36: Black Ops Testing Workshop from Agile Testing Days 2014

Interrupt 2Testing maxlength and truncation.http://bit.ly/1B7gQlx

Page 37: Black Ops Testing Workshop from Agile Testing Days 2014

Interrupt 2a● We have a broken app - can you get in?● Links removed as only valid at the time of

the workshop

Page 38: Black Ops Testing Workshop from Agile Testing Days 2014

Interrupt 3Recording data flow.

Page 39: Black Ops Testing Workshop from Agile Testing Days 2014

Interrupt 4Can we break the CSV, Atom or PDF exports?What might do that?

Page 40: Black Ops Testing Workshop from Agile Testing Days 2014

Debrief Phase

Page 41: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 1● The PDF does not contain the Start Date,

Estimated Time, % Done or File Description for the attachments that are included in the New Issue form.

● The PDF does not contain the Target Version and Spent Time values that are included in the View Issue form.

Page 42: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 2The Atom feed from the View Issue page has no content when it is viewed immediately after creating an issue. It did have content after adding a quote to the issue.

Page 43: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 2

Page 44: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 3The File Description for an image is not saved if too many characters are entered in the New Issue form. We did not investigate where the boundary is.

Page 45: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 4The PDF that is generated from the Gantt page always shows the default zoom level regardless of the zoom level that has been selected.The URL of the PDF link contains a ‘zoom’ parameter (which does nothing). Changing the ‘months’ parameter has the desired effect.

Page 46: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 5Some non-Roman characters are displayed correctly on all HTML pages but they are not displayed in PDFs.

Page 47: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 6Some non-Roman characters are not displayed correctly in CSVs.

Page 48: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 7You’re able to delete all user accounts, including admin.

There is only 1 admin (as far as I could see)

Tell us how….

Page 49: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 7 cont.Record browser traffic while deleting a account.Find the delete POST

Page 50: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 8"Your account has been activated. You can now log in. "System says I am already "logged in as eris" and I am on my account page

Minor issue about wording

Page 51: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 9Error message about emails already in use when registering - privacy concern“Email has already been taken”

Page 52: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 10Maximum length of email is 60 chars but needs to accept 254

Page 53: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 11Can use an invalid language when registering a user.

Page 54: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 12Truncation on project identifier with no error or warning messagei.e. create project with 255 char identifier - truncated to 100

Page 55: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 13When creating a project, the ID and name are populated via javascript but if I change the name then the identifier is not kept in sync.

Page 56: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 14Can create an invalid enabled_modules entry by submitting a module name which does not exist when creating a project

Page 57: Black Ops Testing Workshop from Agile Testing Days 2014

Bugs we found 15Change url to have csv or pdf viewsSystem should respond differently to csv and pdf on projects when GUI request rather than an API request 406 is better for API, 404 with html or 406 with html payload might be better

Page 58: Black Ops Testing Workshop from Agile Testing Days 2014

Rathole 1 - PasswordAlan thought there was a bug with password lengths, and storing in a varchar 40, since password can be very long.But, a ‘hash’ is stored, not the password, this took time to discover.