SlideShare uma empresa Scribd logo
1 de 71
Testing as Value Flow Management:
Organise your toolbox around
Congruence, Systems Thinking & Emergence
v1.0




         Thank
        you all
       for being
         here!



Neil Thompson
                                              ©Thompson
Thompson information Systems Consulting Ltd    information
                                               Systems
                                               Consulting Ltd   1
What is software testing? Definitions
through the ages
    PERIOD                        EXEMPLAR OBJECTIVES                        SCOPE                APPROACH
     DEBUGGING                    Weinberg          Test + Debug            Programs        Think, Iterate
Pre-     (Psychology)             (1961 & 71)
1957 DEMONSTRATION                Hetzel            Show meets                              Verify, +maybe
                                                                            Programs
            (Method)              (1972)            requirements                            Prove, Validate, “Certify”
1976 DESTRUCTION                  Myers             Find bugs               Programs, Sys, + Walkthroughs, Reviews
                (Art)             (1976 & 79)                               Acceptance       & Inspections
1983                              ?                 Measure
     EVALUATION
                                                    quality
1984 PREVENTION        Beizer                       Find bugs,              + Integration
              (Craft?) (1984)                       show meets
                                                    requirements,
                                                    +prevent bugs
2000                             Context-Driven Find bugs, in service                       Realistic, pragmatic,
         SCHOOL(S)                Kaner et al   of improving quality,                       people-centric, no “best
                                  (1988 & 99) for customer needs                            practices”
2011    DEAD??                    Several
                                  people...
                                                                                                    ©Thompson
Overall periods developed after Gelperin & Hetzel, “The Growth of Software Testing”,                  information
1988 CACM 31 (6) as quoted on Wikipedia                                                              Systems
                                                                                                     Consulting Ltd   2
Who claims software testing is
dead?
• Tim Rosenblatt (Cloudspace
  blog 22 Jun 2011) “Testing Is
  Dead – A Continuous Integration
  Story For Business People”
• James Whittaker (STARWest
  05 Oct 2011) “All That Testing Is
  Getting In The Way Of Quality”
• Alberto Savoia (Google Test
  Automation Conference 26 Oct
  2011) “Test Is Dead”
• (There *may* be others?)            © Thompson
                                        information
                                        Systems
                                        Consulting Ltd   3
Proposed alternative(s) to death

   PERIOD               EXEMPLAR OBJECTIVES                    SCOPE                 APPROACH
     DEBUGGING          Weinberg        Test + Debug           Programs        Think, Iterate
Pre-     (Psychology)   (1961 & 71)
1957 DEMONSTRATION      Hetzel          Show meets                             Verify, +maybe
                                                               Programs
            (Method)    (1972)          requirements                           Prove, Validate, “Certify”
1976 DESTRUCTION        Myers           Find bugs              Programs, Sys, + Walkthroughs, Reviews
                (Art)   (1976 & 79)                            Acceptance       & Inspections
1983                    ?               Measure
     EVALUATION
                                        quality
1984 PREVENTION        Beizer           Find bugs,             + Integration
              (Craft?) (1984)           show meets
                                        requirements,
                                        +prevent bugs
2000                    Context-Driven Find bugs, in service                   Realistic, pragmatic,
       SCHOOL(S)         Kaner et al   of improving quality,                   people-centric, no “best
                         (1988 & 99) for customer needs                        practices”
2011                                    Experiment &
            Science?                    Evolve?
                                                               Neo-Holistic?
                                                                                       ©Thompson
            And see http://scott-barber.blogspot.co.uk/2011/11/on-alleged-               information
            death-of-testing.html (I’ll return to this later)                           Systems
                                                                                        Consulting Ltd   4
Three themes... Theme A: Can
software testing become scientific?
                   • Boris Beizer
                     (1984) experimental process, and
                     (1995) falsifiability (the well-known Popper principle)
           • Rick Craig & Stefan Jaskiel (2002)
             black-box science & art, “white-box” science
           • Marnie Hutcheson (2003)
             software art, science & engineering
                Kaner, Bach & Pettichord (2002) explicit science:
                • theory that software works, experiments to falsify
                • testers behave empirically, think sceptically,
                   recognise limitations of “knowledge”
                • testing needs cognitive psychology,
                   inference, conjecture & refutation
                • all testing is based on models                ©Thompson
                                                                  information
NB: also, several blogs have already addressed “testing as a science”   Systems
                                                                        Consulting Ltd   5
Elsewhere in this very conference!
You are a scientist –
Embracing the scientific method in software testing: Christin Wiedemann

“A software tester is nothing less than a scientific researcher,
using all his/her intelligence, imagination and creativity to gain
empirical information about the software under test.
But how do we prove to others that software testing is indeed
a scientific method, that testing actually requires certain skills
                                                                                                 (from www.lets-test.com 21 Mar
and that our work deserves recognition and respect? And even                                     2012 – bold emphases added here
more importantly, how do we convince ourselves of our own value?                                 by Neil Thompson)


Starting with Galileo’s struggles to prove that the Earth is round, I will give a brief historical
overview of the birth and use of the scientific method, drawing parallels to the evolvement of
testing over the last decades. By going through the steps of the scientific method I will show that
good software testing adheres to those principles. I will also talk about how truly understanding
and embracing the scientific method will make us better and more credible testers. And boost
your self-confidence!”

Changing careers after eleven years as an astroparticle physicist, Christin Wiedemann brings her logical and
analytical problem-solving skills into the world of testing. Four years down the road, she is still eager to learn
and to find new ways to test more efficiently. In her roles as tester, test lead, trainer and speaker,
Christin uses her scientific background and pedagogic abilities to continually develop her own skills        ©Thompson
and those of others. Christin is constantly trying new approaches and is keen to share her experiences.         information
                                                                                                               Systems
Follow c_wiedemann on twitter.com or visit Christin’s blog christintesting.blogspot.com.                       Consulting Ltd   6
Why should it be useful to treat
testing as a science?

 System Requirements/
 Specification/ Design             Expected                                        Test
                                   result                                     Y    “passes”
                                                              Test result =
                       Test                                    Expected?
                                      Test                                    N    Test
    Product                           result                                       “fails”




   Hypothesis                       Expected                                       Hypothesis
                                    result                    Experiment      Y    confirmed
                                                                result =
                                                               Expected?
                     Experiment                                               N    Hypothesis
    Part of the                        Experiment
                                                                                   rejected
    cosmos                             result

                                                                                  ©Thompson
                                                                                    information
Note: this is starting with some “traditional” views of testing & science          Systems
                                                                                   Consulting Ltd   7
So, how would these “methods”
look if we adopt Myers & Popper?

                                              After Glenford Myers,
System Requirements/
                               “Aim to        “The Art of Software Testing” Test is
Specification/ Design
                               find bugs”                                Y “successful”
                                                         Test result =
                   Test                                   “as aim”?
                                  Test                                    N Test is so far
  Product                         result                                    “unsuccessful”



                                “Aim to
 Hypothesis                                                                   Falsification
                                falsify
                                                         Experiment      Y    confirmed
                                hypothesis”
                                                           result =
                                                         “as aimed”?
                  Experiment                                             N    Hypothesis
  Part of the                      Experiment
                                                                              not yet
  cosmos                           result
                                                   After Karl Popper,         falsified
                                                   “The Logic of Scientific   ©Thompson
                                                   Discovery”                   information
                                                                               Systems
                                                                               Consulting Ltd   8
A current hot topic: testing versus
“just checking” (binary disease?)

System Requirements/
Specification/ Design          Expected                                       Check
                               result                      Check         Y    “passes”
                                                          result =
                     “Check”                             Expected?
                                  Check                                  N    Check
  Product                         result                                      “fails”


               Other oracles
                                Other quality-related
System Requirements/
                               Ways           criteria                         Quality-
Specification/ Design
                               could fail                Test result =   Y     related info
                                                         appropriate
                     Test                                      ?              Info on
                                  Test                                   N
                                                                              quality
  Product                         result
                                                                              issues
                                                                             ©Thompson
                                                                               information
                                                                              Systems
                                                                              Consulting Ltd   9
But wait! Is there one, agreed,
 “scientific method”?




• No! These are the first dozen I found (unscientifically*)
• Only two are near-identical, so here are eleven variants, all
  with significant differences! (extent, structure & content)
                                                              ©Thompson
• The philosophy of science has evolved, still evolving...      information
                                                                              Systems
* Images from various websites, top-ranking of Google image search May 2011   Consulting Ltd   10
And is science enough to guide us?

• “Traditional” methods think not, eg:
      (old TMap:
       http://physicsarchives.com/course/
       Structuredtesting_files/image022.gif)




• And agile manifesto emphasises:
   –   Individuals and interactions over processes and tools
   –   Working software over comprehensive documentation
   –   Customer collaboration over contract negotiation
   –   Responding to change over following a plan
       (some Context-Driven Testing principles resonate with these)

• So, can we have a general framework which is adaptable
  to all situations? I propose so, built around science +:
   – “Value Flow”; and                         Theme B     © Thompson
   – “Context-Driven”                          Theme C       information
                                                             Systems
                                                             Consulting Ltd   11
Theme B: The software lifecycle as a
flow of value (not “the” V-model, but...)
• Working systems have value; documents in themselves do not; so
  this is the            RAW MATERIALS                       FINISHED
                                                             PRODUCT
  quickest
  route!      a b  c         Stated
                          requirements
                                            Demonstrations &
                                            acceptance tests



                                                           Programming


• SDLCs are necessary, but introduce impediments to value flow:
  misunderstandings, disagreements…
  documents are like inventory/stock, or “waste”
                                                   Implicit
    a       b    c          a      b    d    requirements
                                   ’

                                            Documented
                                                                    ?           Acceptance tests
        I



                                I




                                            requirements
                                        ?
        Meeting / escalation to agree                 Intermediate documentation!
                                                                                                   ©Thompson
                                                                                                     information
                                                                Programming                         Systems
                                                                                                    Consulting Ltd   12
To improve value flow: agile methods
following principles of lean manufacturing

LEVELS OF DOCUMENTATION,                                   FLOW OF FULLY-WORKING
pushed by specifiers                                           SOFTWARE, pulled by
                                                                  customer demand

                                   + Test Specifications




Requirements                                                                                Accepted

                                                                                            System-
                                                                                            tested
      + Func
        Spec
                                                                                             WORKING
                                                                                            SOFTWARE
                                                                               Integrated
               + Technical
                   Design
                                                                        Unit /
                                                                        Component
                                                                        -tested
                        + Unit / Component
                                                                                ©Thompson
                                                                                  information
                               specifications                                    Systems
                                                                                 Consulting Ltd       13
Now, what do people mean by
“testing is dead”?

Requirements




      Functional &
      NF specifica-
          tions                                 We keep talking about
              Technical
                                                 “agile v waterfall” –
            spec, Hi-level
               design                            so, er, um, we mean
                  Detailed
                                                  “waterfall is dead“
                  designs




                             Coding




                                      Testing                      ©Thompson
                                                                     information
                                                                    Systems
                                                                    Consulting Ltd   14
Or do they mean this?

Requirements
                                                    Acceptance
                                                      Testing
                                                                      Developers
                                                                       and users
      Functional &
                                                                  are better at Unit-
      NF specifica-
          tions
                                                 System
                                                 Testing
                                                                     Integration &
                                                                  Acceptance levels
                                                                    than generalist
              Technical
            spec, Hi-level
                                          Integration
                                            Testing
                                                                 testers, so we mean
               design
                                                                      “testers are
                                                                   dead, except for
                  Detailed             Unit
                                                                  offshored system
                  designs             Testing
                                                                       testing“ –
                                                                 oh, er, um, maybe just
                                                                   the functional part
                             Coding                                              ©Thompson
                                                                                   information
                                                                                  Systems
                                                                                  Consulting Ltd   15
But I say, testing is all of this!
                                                            Levels of
                                                            system &                                 Risks &
  Levels of                          Levels of              service                                  testing
  specification                      stakeholders           integration                          responsib’s
                                                                + Business                      Users may
                                     Business,                   processes
                                                                               Acceptance       be unhappy (so
 Requirements                        Users,                                      Testing
                                                                                                generate
                                     Business Analysts,
                                     Acceptance Testers                                         confidence)
                                                                                            System may contain
       Functional &                   Architects,                                           bugs not found by
                                                                             System
       NF specifica-
                                      “independent”                          Testing        lower levels (so seek
           tions
                                             testers                                        bugs of type z)

               Technical              Designers,                  Integration
                                                                                       Units may not interact
             spec, Hi-level                                                            properly (so seek bugs
                                      integration                   Testing
                design
                                          testers                                      of type y)

                                                                                  Individual units may
                   Detailed            Developers,                Unit
                   designs                                       Testing
                                                                                  malfunction (so seek bugs
                                       unit testers                               of type x)

                                                                              MAY TEST BEFORE
Remember: not only for waterfall or V-model SDLCs, rather                        SEEING SPECS
   iterative / incremental go down & up                                                       ©Thompson
   through layers of stakeholders,                                                              information
   specifications & system integrations                                                        Systems
                                                                                               Consulting Ltd   16
Plus this!
                                    Levels of   Levels of
 Levels of              Levels of   Test        Test
 specification          Review      Analysis    Design


Requirements




      Functional &
      NF specifica-
          tions



              Technical
            spec, Hi-level
               design



                  Detailed
                  designs




• Remember the A & R in “EuroSTAR”!
• And remember Verification (“checking”) & Validation       ©Thompson
                                                              information
                                                             Systems
  (working definition here, fitness for purpose)             Consulting Ltd   17
Can think of value as flowing down
through, then up through, these layers
                                          Levels of
                                          system &         Tested
         Desired       Levels of          service          (“known”)
         quality       stakeholders       integration      quality
                                              + Business
                     Business,                 processes

                     Users,
                     Business Analysts,
                     Acceptance Testers


                       Architects,
                       “independent”
                              testers


                        Designers,
                        integration
                            testers


                           Developers,
                           unit testers



• Testing’s job to manage both these flows!
• And also, extend back into marketing / feasibility and          ©Thompson
                                                                    information
                                                                   Systems
  forward into maintenance & enhancement                           Consulting Ltd   18
This seems similar to Scott Barber’s
not-dead view of what testing should be
•   “Add value to companies...
•   by helping them to deliver products
    (whether those products are software,
     contain software, use software, or are
     designed/developed/manufactured using software)...
• faster, cheaper and appropriately fit for use &
purpose, while...
• helping those companies identify, mitigate and control
   associated business risks.”




http://scott-
barber.blogspot.co.uk/2011/11/on-alleged-                  ©Thompson
                                                             information
death-of-testing.html                                       Systems
                                                            Consulting Ltd   19
So: any lifecycle should be improvable by
considering the value flow through it

  • The context influences what deliverables are
    mandatory / optional / not wanted
  • Use reviews to find defects & other difficulties fast
  • Do Test Analysis before Test Design (again, this finds
    defects early, before a large pile of detailed test scripts
    has been written)
  • Even if pre-designed testing is wanted by stakeholders,
    do some exploratory testing also
  • “Agile Documentation”*:
        – use tables & diagrams
        – consider wikis etc
        – care with structure
                                                                 © Thompson
                                                                   information
* These points based on a book of that name, by Andreas Rüping
                                                                   Systems
                                                                   Consulting Ltd   20
Theme C: Context-Driven
  • This conference is the first major European conference to
    be explicitly aligned with Context-Driven testing
  • The idea of Let’s Test gained critical mass arising out of conversations at
    CAST 2011 Seattle (CAST, the Conference of the Association for Software
    Testing) – AST is dedicated to “advancing the understanding of the
    science and practice of software testing according to Context-Driven
    principles”
  • Recent blog posts by Context-Driven’s leaders have debated whether it
    should still be a “school”, or whether considering Context-Driven as an
    “approach” would aid useful controversy (and hence progress) rather
    than polarisation
  • Either way, the Context-Driven principles still retain their
    wording, illustrations, examples and commentary on www.context-
    driven-testing.com
Selected sources:
http://lets-test.com/about/
http://www.associationforsoftwaretesting.org/                      © Thompson
                                                                     information
http://context-driven-testing.com/?page_id=9                         Systems
http://www.satisfice.com/blog/archives/724                           Consulting Ltd   21
Context-Driven
principles, illustrations, examples &
commentary
• Seven Principles (very well-known, so not reproduced here)
• But also... Selected illustrations (paraphrased by me):
   – testing serves project and its stakeholders – not just for
     development, but could be for
     qualifying, debugging, investigating, selling etc (note: this
     presentation does focus on project/product SDLC)
   – your oracle(s) are not the only possible oracles – software can fail in
     many ways, often hidden
   – tests should focus on different risks as the software becomes more
     stable
   – test artifacts are worthwhile to the degree that they satisfy their
     stakeholders’ relevant needs
   – testing provides information and thereby reduces uncertainty
   – beware invalid / misleading / inappropriate metrics
• Examples (of very different contexts):
   – airplane control; internet-hosted word-processor                © Thompson
• Commentary...                                                        information
                                                                       Systems
                                                                       Consulting Ltd   22
My visualisation of the Context-Driven
commentary
........................................................NEEDS OF STAKEHOLDERS..................................................


                                 Adjust if                  Everything                Can’t/won’t                Try to change
                                 context                    tailored to               adjust if                  context [or


                                                     X
                                 needs                      context                   context                    just choose
                                                                                      changes                    appropriate
                                                                                                                 contexts?]


Things:
• just learned
                           Start from
                           “best
                                                      No
                                                      “best                   Optimised for
                                                                                              X             Optimised for
• seen others do           practices”                 practices”              this context                  “best” context




Context-                   Context-                  Context-                   Context-                    Context-
Oblivious                  Aware                     Driven                     Specific                    Imperial
• The commentary also contrasts “agile testing” &                                                             ©Thompson
                                                                                                                information
                                                                                                               Systems
  “standards-driven testing”...                                                                                Consulting Ltd     23
So I see a kind of hierarchy here
+ some notional evolutionary paths

Standards-                    Context-
Driven                        Driven      • “Driven” is the key word


              Context-        Context-      Context-
              Aware           Specific      Imperial


       Agile + We could Waterfall           Strict V-model         (etc)
                     add...


                              Context-                   ©Thompson
                                                           information
                              Oblivious                   Systems
                                                          Consulting Ltd   24
But this diversity may challenge
people’s differing desires for structure




No tools → Few tools                                         →            Many tools
                                (and simple)                                (and sophisticated)
                                                                                             ©Thompson
                                                                                               information
                                                                                              Systems
(based on http://www.needham.eu/wp-content/uploads/2011/01/ascent-of-man1.jpg)                Consulting Ltd   25
So here is my structured toolbox

 1. Congruence   2. Systems     3. Emergence
                 Thinking



                                       Themes
                                         B (Value Flow)
                   Framework             & C (Context)
                   Scientific method      Theme A
                   Techniques
                   & tools

                                               © Thompson
                                                 information
                                                 Systems
                                                 Consulting Ltd   26
How the layers work
Framework

             1. Congruence           2. Systems Thinking              3. Emergence

                    Design...                               Design...
                     Experiment                             Hypothesis

Scientific                  Perform...                      Test...
method                          Experiment                  Hypothesis

                                                       Iterate
                                                OK
                                                        N
                                               yet?                                  Evolve...
                                                Y

              Select...           Improve...          • Sequence & iterations
                                                        depend on
                                                        the details       ©Thompson
Techniques                                                                  information
& tools                                                 of each area...    Systems
                                                                           Consulting Ltd        27
The Framework layer in more detail




                                            2. Systems Thinking
                                                          (plus a
     1. Congruence                                 documentation
      (broadish view)                                  structure)




                                                          © Thompson
             3. Emergence (fed by Complexity theory)        information
                                                            Systems
                                                            Consulting Ltd   28
1. Congruence
• Originated by Virginia Satir:
   • (among other things) she moved therapy onwards
     from linear cause-effect to systems thinking
   • congruence is one of her main constructs: instead
     of placating, blaming, being “overly-reasonable” or
     being irrelevant, we should honour all three of:

                                                                    Context

                                                                   Self Others
                 (Sector sequence rearranged by Neil Thompson to
                 fit with other parts of this structure)

• Adapted by
  Jerry Weinberg
  and applied in
                                                                         ©Thompson
  Quality Software Management etc                                          information
                                                                          Systems
                                                                          Consulting Ltd   29
One way to start using this Framework
in a testing job (or whole project)
• Can fit a “Kipling” analysis                   (not yet HOW?)
  to this structure                              Context
                                         WHEN          WHERE
                         Congruence
                                                  WHAT
                           Context

                         Self Others              WHY



                                          Self    WHO      Others



• The context *may* dictate “How”, but
                                                       ©Thompson
  better not to decide prematurely                       information
                                                        Systems
                                                        Consulting Ltd   30
Use the science of Psychology
                                      (these are just examples
Myers Briggs Type Indicators:         of techniques & usages)
• Attitudes (Ext/Int), Functions
  (Sens/Intu, Think/Feel), Lifestyle (Judg/Perc)
• Am I right for this job? Need to work outside comfort
  zone? Work to understand other team members?                        in *this*
                                                                      Context...

                                 Context
                                                                   Self     Others
                               Self Others

                                                                 eg Myers-Briggs
                               Psychology                          (individuals)
Belbin Team Roles:
• Plant, Resource investigator, Co-
   ordinator, Shaper, Monitor                                     eg Belbin (team)
   evaluator, Teamworker, Implementer, Complete
   r finisher, Specialist                                              ©Thompson
                                                                         information
                                                                        Systems
• Often used to balance a team by having a variety                      Consulting Ltd   31
The layered view of this
Framework                    1. Congruence


             Hypothesis                  Hypothesis
             • I will be a success in    • There are more team tensions
               this new project...         than we want, so...
             • ...But I may need to      • ...Maybe team is unbalanced
Scientific     work outside my
               comfort zone              Experiment
method
             Experiment                  • Ask team members if they
                                           would agree to fill in a
             • Workshop to form a          questionnaire
               view of team members’
                                         • Follow up with team-building
               personality types
                                           workshop



Techniques        Myers-Briggs                Belbin       ©Thompson
                                                             information
& tools                                                     Systems
                                                            Consulting Ltd   32
Why it’s important to start with
Congruence & Psychology
  • You may avoid taking a role very unsuited to your
    personality / ability to work outside comfort zone
    (or at least you’re warned of the challenge)
  • People vary so widely – if you deal with people in
    ways they do not appreciate, that dysfunction can
    hinder everything else
  • If you upset people at the start of a project, it’s
    an uphill struggle to repair relationships
  • Better to understand people’s motivations; can
    reduce conflicts
  • As project proceeds, psychology can give a much
    better understanding of processes at work
                                                © Thompson
                                                  information
                                                  Systems
                                                  Consulting Ltd   33
A story about the power of congruence
• “Missing link” fossils of fish evolving legs &
  crawling onto land – Prof. Jenny Clack:
   – used connections to get drilling access
     to Bradford Museum’s concrete-encased
     Pholiderpeton, where Panchen had
     previously failed; then
   – through personal contacts, found
     Acanthostega specimens in
     Cambridge Univ basement; led to...
   – Icthyostega: Denmark never gave
     permission to visit Greenland site
     until Clack persuaded Jarvik –
     “kindred personality type, wouldn’t threaten him”
                                                   © Thompson
www.theClacks.org.uk                                 information
wikipedia                                            Systems
                                                     Consulting Ltd   34
Understanding Context more specifically
• Refine Kipling analysis into complementary
  viewpoints of quality; considers & extends                      Process      Improv’t
                                                     HOW
  “Quality is value to some persons –                  (if context dictates)
  who matter                                   Financial               Infra-
                                                                       structure
  (after Weinberg)
                                            WHEN                 WHERE
                          Value Flow
                          ScoreCards
                                                   WHAT          Product



                           Context
                                                           WHY
                         Self Others                 Context

                                                                 Supplier      Customer



                                                Self        WHO             Others
• Documented in “Value Flow ScoreCards”
  structure co-developed by Neil Thompson                           ©Thompson
                                                                      information
  with Mike Smith                                                    Systems
                                                                     Consulting Ltd       35
The Value Flow ScoreCard in action
            WHO...
                                                                                          Financial


            Supplier   Process   Product   Customer   Financial   Improv’t
                                                                  & Infra-
                                                                  structure
                                                                               Supplier   Improv’t    Customer



WHY
                                                                               Process    Product
                WHAT, WHEN, WHERE
HOW
      • It’s just a table!
        …Into which we can put                                                • Foundations,
           useful things…
      • Could start with repositionable                                         how it’s meant to
        paper notes, then can                                                   model behaviour...
        put in spreadsheet(s)
      • NB the measures & targets need not be
        quantitative, could be qualitative, eg                                                ©Thompson
                                                                                                information
        rubrics                                                                                Systems
                                                                                               Consulting Ltd    36
More about Value Flow ScoreCards
• Based on Kaplan & Norton
  Balanced Business Scorecard
                                                        Financial
  and other “quality” concepts                          Efficiency
                                                        Productivity

• The views of quality developed                        On-time,
                                                            in budget
                                                        - Cost of quality
  by Isabel Evans after Garvin Supplier                                        Customer
                                                                               VALIDATION
                                       Upward
                                                                               Risks
• Value chain ≈ Supply chain:          management

                                       Information
                                                                               Benefits
                                                                               Acceptance
                                                                               Satisfaction
   – in the IS SDLC, each participant  gathering
                                                                               - Complaints

     should try to ‘manage their                        Improve-
     supplier’                                          ment
                                                        eg TPI/TMM…
   – for example, development                           Predictability
                                                        Learning
     supplies testing                                   Innovation

     (in trad lifecycles, at least!)
   – we add supplier viewpoint to the
     other 5, giving a 6th view of quality
                                        Process         Product
• So, each step in the                  Compliance      VERIFICATION

  value chain can manage its            eg ISO9000
                                        Repeatability
                                                        Risks
                                                        Test coverage

  inputs, outputs and                   - Mistakes      - Faults
                                                        - Failures          ©Thompson
  other stakeholders                                                          information
                                                                             Systems
                                                                             Consulting Ltd   37
Value Flow ScoreCards can be
cascaded (...but you don’t necessarily need all of these!)

Business Analysts          Requirements Reviewers         Acceptance Test Analysts                           AT Designers & Scripters          Acceptance Testers




           Architects               Func Spec Reviewers             Sys Test Analysts                    ST Designers & Scripters             Sys Testers




                        Designers         Tech Design Reviewers         Int Test Analysts              IT Designers, Scripters & Executers




                                                                        Component Test Analysts, Designers & Executers?
Pieces of a jig-saw
In addition to “measuring” quality
information within the SDLC:                                                         via pair programming?

• can use to align SDLC principles with                                                                                                      ©Thompson
                                                                           Developers
    higher-level principles from the                                                                                                           information
                                                                                                                                              Systems
    organisation                                                                                                                              Consulting Ltd        38
Example - Process improvement using
Goldratt’s Theory of Constraints:
“Swimlane” symptoms, causes & proposed remedies

                   Supplier      Process         Product         Customer       Financial           Improvement &
                   Upward        Compliance      VERIFICATION    VALIDATION     Efficiency          Infrastructure
                   management    eg ISO9000      Risks           Risks          Productivity        eg TPI/TMM…
                                 Repeatability   Test coverage   Benefits       On-time,            Predictability
                   Information                                   Acceptance         in budget       Learning
                   gethring                      - Faults        Satisfaction                       Innovation
                                 - Mistakes      - Failures      - Complaints   - Cost of quality

                                                                                                       CURRENT ILLS
Objectives
                                                                                                                        CONFLICT
                                                                                                                        RESOLUTION

                                                                                                       FUTURE REMEDIES

Measures
                                                                                                     PRE-
                                                                                                     REQUISITES
Targets

                                                                                                     TRANSITION
Initiatives
                                                                                                                     ©Thompson
Note: this is similar to Kaplan & Norton’s “Strategy Maps” (Harvard Business School Press 2004)                        information
                                                                                                                      Systems
When cause-effect branches form feedback loops, this becomes part of Systems Thinking                                 Consulting Ltd   39
And that leads into...
2. Systems Thinking
• Understanding how things influence each other *as a whole*
  – overall behaviour is not merely the sum of its parts
• Why talk about this here?
   – many areas of science & human endeavour now use it – because
     simple cause-effect thinking has turned out inadequate for the
     real world:
      • (Virginia Satir’s therapy methods; Jerry Weinberg’s teachings)
      • public affairs, business management
      • the earth’s climate and biological ecosystems
   – IT systems must be part of business / human systems to provide
     value
   – if we want testing to manage value flow, we should get a good
     understanding of how value actually flows, in natural and human
     systems, especially usage *and creation* of IT systems
• See also *general* systems theory, cybernetics etc
• Early pioneers Bogdanov, Wiener, von Bertalanffy © T
                                                     i
                                                                          hompson
                                                                         nformation

• Feedback loops are key...                          S
                                                     C
                                                                          ystems
                                                                          onsulting   Ltd   40
Goldratt’s ToC may be seen as a special
case of Systems Thinking
• Linear cause-     ROOT CAUSES   INTERMEDIATE CAUSES

  effect chains /                                                               SYMPTOMS

  trees
• Trees may “re-
  root” to form                                                                  SYMPTOMS

  feedback                                           “Feed-round”
  loops                                              might be a better term!


• Some loops                                  
  reinforce
                     
  (vicious or                                           
  virtuous                        
  circles); other                              A loop is balancing
  loops balance              
                                               if it contains
                                               an odd number of           ©Thompson
                                                                          information
                                               opposing links;
                                                                           Systems
                                               else it is reinforcing      Consulting Ltd   41
An example of Systems Thinking
reinforcing & balancing loops
                                                           Duration of
                                                          working hours
                                                                                       
               Degree                                                                                    Health
                of live
               failures                  Peer-              Short-term
                                       approval                                  Management-
                                                             financial
                                        reward                                     approval
                                                              reward
                                                                                    reward


            BALANCING                                  REINFORCING                                      BALANCING
             LOOP 1:                                       LOOP                                          LOOP 2:
           Quality targets                                                                           Capacity of staff
                                                                                          
                                                                 
                                                                                                    
                                          Overall                                    Long-term                            
                                     acceptability                                  financial
                                        of projects             “Coping”               reward
                                                             mechanisms
             Effectiveness
                                                               for fatigue                                  Efficiency
              (per week)                                                                                     (per hour)
                                                                   etc
                             
                                                                                                  
                                                                                                               ©Thompson
Notation varies among different authors; this is Neil Thompson’s,                                                information
                                                                                                                Systems
incorporating elements of Jerry Weinberg’s & Dennis Sherwood’s                                                  Consulting Ltd   42
How to do Systems Thinking using this
Framework
• Draft cause-effect trees for bad things you want to
  fix, and/or good things you want to achieve
• Use the VFSC to
  help sequence
  these, and                  Systems Thinking
  identify & fill gaps
• Look for feedback
  loops; exploit                     
  virtuous ones and
  balance vicious      Supplier   Process    Product   Customer   Financial Improv’t
                                                                            & Infra
  ones
                                  Value Flow ScoreCards

                                              Context

                                            Self       Others
                                                                                       ©Thompson
                                                                                         information
                                                                                        Systems
                                                                                        Consulting Ltd   43
3. Emergence
• Why consider this in addition to Systems Thinking?
   – although “unintended consequences” can happen in systems (eg
     Darwinian evolution), it seems something more subtle is driving
     the most valued innovation (eg Boolean networks, proteins, cells)
   – this is Complexity theory: includes various topics eg fractal
     patterns, unification of seemingly different phenomena, Emergent
     properties & behaviours eg organic chemistry, biological life via
     genetics, social cooperation (via memetics??), consciousness!
   – there are analogies specifically useful in IT systems, eg Bayesian
     learning, Artificial Intelligence
   – complexity & emergence are multidisciplinary subjects; we
     can, and should, learn much from other fields beyond IT
   – another aspect is self-organisation: this is a factor in agile teams
   – as software and its integration into human society becomes
     exponentially more complex, connected and pervasive,
      we may need a paradigm shift to be able to               © Thompson
     test such systems adequately                                 information
                                                                  Systems
                                                                  Consulting Ltd   44
More about complexity & emergence
• Complexity science: uncovering & understanding the deep
  commonalities that link natural, human and artificial
  systems (resequenced quote from www.santafe.edu)
• The systems we test are evolving though these levels
• Used by Jurgen Appelo in agile “Management 3.0”
• Does our validation care about unexpected phenomena
  arising out of use of our systems, eg stockmarket runaways,
  road traffic jams?
• Could network theory (a unification of graph theory etc)
  suggest improved or new test design techniques? (focus on
  relationships, help performance & resilience testing)
• Large populations, “big data”, wisdom of crowds, grounded
  theory...?
• Evolution (not only of biology but of other things – see Per
  Bak’s sandpile analogy) is believed to proceed though
  “punctuated equilibria”; this could happen to testing © Thompson
                                                            i
                                                          nformation
  methods? Let’s explore “adjacent possibles”              S
                                                           ystems
                                                           C
                                                           onsulting   Ltd   45
So... Complexity & Emergence in this
Framework               Systems thinking
                                                  Information,
                                            Purpose, Communication,
                                                Feedback, Control
                                                  Non-linearity
                                        General/universal systems principles




                           Similar / different
                           behaviours at
                           different scales
                                                 Technology progress,      (Chaordic)
               Nested hierarchies of scales      neural computing,         innovation
                                                 other AI
                   Complexity                                                  Emergence
                                              ENABLES & INFORMS                ©Thompson
              Analogies between                                                  information
natural, human & artificial systems       Bayesian philosophy of science        Systems
                                                                                Consulting Ltd   46
Another “Complexity” point

 • Although I’ve drafted this structure for personal
   use, arguably it’s “fractal” – could be used on
   larger scales, eg:
    –   your team in the project
    –   your project in the programme
    –   your programme in the organisation
    –   your organisation in the market...
 • Principles apply both to the live usage of systems
   we’re producing, and the “processes” we use to
   develop & test
                                               © Thompson
                                                 information
                                                 Systems
                                                 Consulting Ltd   47
Summary, and some example techniques
                 (viewpoint from side)
Framework

                        1. Congruence                2. Systems       3. Emergence          Evolve...
                        (& Psychology)                 Thinking
                                                      (& VFSC)
             Design &
             perform... Experiments                Experiments           Experiments
Scientific
method       Design &
             test...     Hypotheses                Hypotheses            Hypotheses



             Select &   Techniques                  Techniques           Techniques
             improve... & tools                     & tools              & tools
                         Organisational                 Effects &
                           mapping                       Factors
                                                        mapping

                                          Risk-Inspired testing      + Bayesian?
                                                                                      ©Thompson
                                                                                        information
                                     MOI(J) model                   + science?         Systems
                                                                                       Consulting Ltd   48
Example (i): Organisational Mapping
Various uses, eg to help:
• an organisation with its group dynamics
• a group with inter-group relationships                                                8. RULES
• an individual with its context
                                                                                          7. KEY
                                                                                        PHRASES
    ORGANISATION                                            5.        THINGS
   GROUP

                                       Context          1.
 INDIVIDUAL
                                    Self                    2,3,6.   4. RELATIONSHIPS
                                             Others

                                                                        9. POWER,
                                     Psychology                         PERFORMANCE,
Notes:                                                                  PROBLEMS, PLANS,
• This instance is based on Jerry Weinberg’s                            PAIN, PLEASURE
   version as presented at AYE 2011 (adapted from                       10,11. ANYTHING ELSE!
   Satir’s approach to family system sculpting)
                                                                               ©Thompson
• Technique needs particular care in its use, because can                        information
   expose normally-hidden opinions and arouse emotions                          Systems
                                                                                Consulting Ltd   49
Example (ii): Effects & Factors mapping
•   (This instance is based on Esther Derby & Don Gray
    version as presented at AYE 2011 (but see other versions, eg Balic &
    Ottersten, which emphasises WHO, HOW & WHAT driven by WHY)

• Centred on aim, eg                      Systems Thinking
  solve a specific
  problem                                                                    Structures
                                                     
• Does not use                    EFFECTS
  swimlanes – free-
  form better for initial                                                     Patterns
  flexible thinking &               FACTORS
                                                     Aim
  brainstorming?                                                               Events
• Could be swimlaned
  afterwards!

                                         Value Flow ScoreCards

                                                Context

                                              Self   Others
                                                                           ©Thompson
                                                                             information
                                                                            Systems
                                                                            Consulting Ltd   50
Example (iii): Risk-Inspired Testing
• This goes beyond many definitions of “Risk-Based
  Testing”, and integrates them all
• Not only testing
  against identified
  Product risks
• Not only prioritising                                                                    Objectives
  tests                      RISK RISK RISK RISK RISK RISK THREATS TO SUCCESS
• Involves all                                             Measures
  stakeholders                                             Targets
• Considers risks in all                                   Initiatives
  aspects of               Supplier   Process    Product   Customer   Financial Improv’t
                                                                                & Infra
  Project, Process &
  Product
                                      Value Flow ScoreCards

                                                  Context

                                                Self       Others
                                                                                                ©Thompson
                                                                                                  information
                                                                                                 Systems
                                                                                                 Consulting Ltd   51
Example (iv): MOI(J) model of leadership



                                         Information                        + scientific
                                                                             jiggling?

                                                        (Jiggling)




                    Organisation




                     Motivation

                                   + new information!

                                                                     © Thompson
                                                                       information
                                                                       Systems
                                                                       Consulting Ltd      52
Summary, and some example techniques
(3-dimensional viewpoint)


                                                                                      + science?




                                 (ii) Effects & Factors
                                         mapping

                                                           (iv) MOI(J)
   (iii) Risk-Inspired testing                                model


           (i) Organisational
                mapping



                                                                         + new information!

                                                   + Bayesian?                     © Thompson
                                                                                     information
                                                                                     Systems
                                                                                     Consulting Ltd   53
Extending your repertoire of techniques
                • A useful collection of “models
                  for strategic thinking”:
                      – has wider use than                                DOING
                        just strategy
                                                                    Self-      Helping others
                      – classified by...                        improvement     to improve
                        (my paraphrase).......      MYSELF                                       OTHERS
                                                                                  Better
                      – note similarity to                         Self-
                                                                               understanding
                                                               understanding
                        congruence                                               of others
                                                                        THINKING
Original: http://www.visual-literacy.org/   • Another source is the “periodic table of
periodic_table/periodic_table.html            visualisations”, although I would warn:
                                                – it’s not really periodic
                                                – you can’t see the visualisations overall at a glance
                                                – I think I could improve the information and its
                                                  organisation       eg see Stephen Few’s comments:
                                                                    http://www.perceptualedge.com/blog/?p=81


                                                – the metaphor is rather cliched;
                                                  another author has even
                                                  produced a “periodic table of           ©Thompson
                                                  periodic tables”                          information
                                                                                           Systems
                                                                                           Consulting Ltd   54
“Emerging Topics”


         Bayesian thinking &
         Artificial Intelligence


                                   © Thompson
                                     information
                                     Systems
                                     Consulting Ltd   55
Bayesian thinking: what it is
• Originated by Rev. Thomas Bayes in
  1740s, but not published until after his
  death, by Rev. Richard Price 1763 & 1764:
      – “An essay towards solving a problem in the
        doctrine of chances”
      – a paper on the Stirling - De Moivre Theorem
        (dealing with series expansions)
• As used today, relies on the inductive                                   Confidence (probability)
                                                                           that A causes B...
  reasoning development by Pierre-Simon
                                                                             Based on initial data
  Laplace:                                                                   (or even guess)
      – “Essai philosophique sur les
        probabilités“, 1814                                                     (Re-)Calculate         Use to
• Is an alternative view of probabilities to                                    probability            make
                                                                                                       decisions
  the traditional “frequentist” approach
                                                                             Get new/revised
• Has various “equation” forms, but here is                                  data when
                                                                             available
  a simplified flowcharted version...
Info: The theory that would not die, Sharon Bertsch McGrayne;                                    © Thompson
                                                                                                   information
wikipedia;                                                                                         Systems
baumanrarebooks.com; bookrags.com                             Image: baumanrarebooks.com           Consulting Ltd   56
A brief history of Bayesianism
• After Laplace, became derelict, defended with little
  success by...
• ...1939 book by geophysicist Harold Jeffreys,
  Theory of Probability; but then
• Kolmogorov was “converted” & Turing
  used successfully in 2nd World War
• 1950s & 1960s Arthur & Robert Bailey used in
  insurance
• 1960s successes in medical statistics, discouraging
  nuclear accidents, text analysis, election prediction.
• But mainstream appreciation didn’t come until
  computing power attained “industrial
  strength” support – now used in
  spam filters and many other applications
                                                               © Thompson
Info: The theory that would not die, Sharon Bertsch McGrayne     information
                                                                 Systems
Images: wikipedia, clipart, ezinedesigner.com                    Consulting Ltd   57
Bayesianism added to Risk-Inspired
Testing
                                                                 Objectives                           Confidence (probability)
  RISK RISK RISK RISK RISK RISK                                  THREATS TO SUCCESS                   that A causes B...
                                                                 Measures                                      Based on initial data
                                                                 Targets                                       (or even guess)
                                                                 Initiatives
Supplier   Process   Product   Customer   Financial Improv’t                                       Use to            (Re-)Calculate
                                                    & Infra                   TECHNIQUES &
                                                                                                   make              probability
                                                                                 COVERAGE          decisions
                                                                                   TARGETS
                                                                                                                Get new/revised
                                                                                                                data when
                                                                                                                available

System Requirements/
Specification/ Design                              “Aim to                                                       Test is
                                                   find bugs”                                             Y      “successful”
                                                                                   Test result =
                                 Test                                               “as aim”?
                                                        Test                                              N Test is so far
     Product                                            result                                              “unsuccessful”
                                                                                                                 ©Thompson
                                                                                                                   information
                                                                                                                  Systems
                                                                                                                  Consulting Ltd   58
Why do I bring up the subject of
Artificial Intelligence here?
• (as mentioned earlier) we may need a
  paradigm shift to be able to test such
  systems adequately
• See Kaner: Software testing as a
  social science
• Also,
 Bayesianism is a
 key part of                                          Computers

 AI itself                                         • We have an
                                           Books     important
                                                     and difficult
                                                     job to do
                           Language
                                                     here!
                                                    ©Thompson
          Tools                                       information
                                                     Systems
   Some enablers for social sciences                 Consulting Ltd   59
What do I mean by Artificial Intelligence?
• Depending on your definition, AI is already here
  (medical diagnoses, Bayesian spam filters etc)
• But some visions (eg Kurzweil “singularity”) have it as
  amazing power & pervasiveness, in the not-too-far future
  (about 2045)
• Here is my sketch of Russell & Norvig’s view... (note
  structural similarity to “The Decision Book”

           Communicating, p
                                                                               • Is Rational”
                                              DOING
           erceiving & acting                                                    better than
                                eg Turing Test
                                 (talks like...”
                                                    intelligent
                                                      agents
                                                                                 “Human”?
  Dealing with
  uncertainty       HUMANLY                                       RATIONALLY
                                  modelling            “laws of
                                  cognition           thought”      Knowledge,
                 Learning                                           Reasoning &
                                           THINKING                  Planning

                                            Problem-solving                       © Thompson
                                                                                    information
                                                                                    Systems
                                                                                    Consulting Ltd   60
How do we test Artificial Intelligence?
(Bayesian validation??)

 • Old-style concepts of “verification against
   specification” seem inadequate
 • Validation against “Humanity” – which one?
 • Validation against Rationality? – but what about
   the humans?
 • Validation against evolutionary fitness? Maybe!
 • NB none of my AI books seem to say anything
   about quality or testing! An opportunity?
                                            © Thompson
                                              information
                                              Systems
                                              Consulting Ltd   61
Summary & Conclusions

   Key learning outcomes
   Some key points
   Relationships with other work
   Next steps

                                   © Thompson
                                     information
                                     Systems
                                     Consulting Ltd   62
Key learning outcomes

• Select your own toolbox of key concepts (not just a long
  list)
• Organise it appropriately (Context-Driven, logical, maybe
  agile?)
• Understand how this could be adapted to wider usage:
   –   “fractally” up through organisations
   –   testing other than software testing
   –   choosing/adapting software lifecycles
   –   almost any endeavour??!
• Be ready to embrace emerging evolution, eg:
   – Bayesian for Risk-Inspired Testing
   – whatever we need to test Artificial Intelligence!?   © Thompson
                                                            information
                                                            Systems
                                                            Consulting Ltd   63
Why and where such a framework could help
• helps
                   • a starting point
  understand &                        • beyond bus &
                     beyond
  interpret                             tech context to      • depends on
                     “everything
  context                               human, science         your route to
                     depends”
                                        & change               context-
                                        factors                imperialism!


       Adjust if           Everything          Can’t/won’t        Try to change
       context             tailored to         adjust if          context [or


                    X
       needs               context             context            just choose
                                               changes            appropriate
                                                                  contexts?]

  Start from
  “best
                     No
                     “best               Optimised for
                                                         X    Optimised for
  practices”         practices”          this context         “best” context

                                                                                  (omitting
                                                                                  Context-Oblivious
                                                                                  for now)

 Context-           Context-              Context-            Context-             ©Thompson
 Aware              Driven                Specific            Imperial               information
                                                                                    Systems
                                                                                    Consulting Ltd    64
Inspiration for this session was PSL & AYE: but
later mapped to Jerry Weinberg’s 4-volume set


                                            Note:
                                            • FIRST-ORDER MEASUREMENT is
                                            observing happenings &
                                            understanding significance, just
                                            enough to be fit-for-purpose

                                            Compare, in my toolbox layers:
                                            • Zeroth-order: quality
                                            req’ts, tasks, reviews & progress
                                            info
                                            • Second-order: improving
                                            efficiency , eg faster / cheaper
                                            • Third-order: scientific “laws”

                            CONGRUENT
                            ACTION

                                   ANTICIPATING CHANGE
                                                              ©Thompson
                                                                information
                                                               Systems
                                                               Consulting Ltd   65
Some other key points
• My placing Congruence at the centre (and,
  by implication, considering it first) echoes 3 of the 4 Agile
  Manifesto emphases:
   – individuals and interactions
   – customer collaboration
   – responding to change
• However, it also gives plenty of prominence (where appropriate)
  to:
   – processes & tools
   – documentation
   – planning
• Echoes Context-Driven 3rd principle, “people working together...”
• And... it echoes Satir’s claim that she could understand practically
  everything about a person from:
   –   how we define relationships
   –   how we define people
   –   how we explain events                                © Thompson
                                                              information
   –   our attitudes to change                                Systems
                                                              Consulting Ltd   66
Some other Let’s Test sessions with
relations to my themes
• In addition to Christin Wiedemann’s “Science” talk...
         • Effect Managing IT (Torbjörn Ryber):
                – understand problems before trying to solve
                – identify stakeholders and what they want to achieve, in which situation

          • An Introduction to Artificial Intelligence Concepts (Chris Blain):
                – a variety of disciplines such as probability, logic, machine
                  learning, scheduling, game theory
                – a framework you can use to generate new ideas in testing philosophy and
                  actual test techniques

          • Curing our Binary Disease (Rikard Edgren):
                – Gerd Gigerenzer’s heuristic that our theories depend on our tools
                – this gives us binary disease, eg pass/fail addiction
                – instead we should communicate, from diverse info sources, noteworthy
                  interpretations of what is important
          • Making the Case for Aesthetics (Zeger van Hese):
                – Glenford Myers’ “Art of Software Testing” was really about skill & mastery
                – can we extend Austin & Devin’s “Artful Making” to           © Thompson
                  testing?                                                        information
                                                                                 Systems
          (summarised by Neil Thompson from www.lets-test.com 09 Apr 2012        Consulting Ltd   67
Some other Let’s Test sessions with
relations to my themes (continued)
                       • The Zen of Software Testing (Dawn Haynes):
                              – Many testing approaches are based on models or theories. Models
                                are derived from experience while theories are derived from
                                thought. When these two approaches meet, sometimes they clash
                                and diminish each other
                              – Zen is a Buddhist doctrine that strives for harmony and balance; We
                                can use our models and theories to organize our thoughts to
                                formulate a direction, and then use our intuitive insight to find the
                                rest (filtered through ethics / appropriateness)
                       • So You Think You Can Test? (Huib Schoots):
                              – collaborating with other disciplines like developers and business
                                analysts will help you become a better tester
                              – we need to practice continuous learning
                       • Do You Trust Your Mental Models? (Henrik Emilsson):
                              – all testing is based on models; some models are written, but...
                              – ...other models can be anything non-written about the software and
                                the context that helps us understand the product
                              – we also have our mental models, which often are generated from
                                the explicit and implicit models – how can we
                                sharpen those?                                        © Thompson
                                                                                         information
                                                                                         Systems
(summarised by Neil Thompson from www.lets-test.com 09 Apr 2012                          Consulting Ltd   68
Selected references &
acknowledgements • NB this is not a full bibliography
• www.agilemanifesto.org
• www.context-driven-testing.com
• The Satir Model: Family Therapy & Beyond (Virginia Satir, John
  Banmen, Jane Gerber & Maria Gomori, 1991)
• Esther Derby, Don Gray, Johanna Rothman & Jerry Weinberg: Problem
  Solving Leadership course & Amplifying Your Effectiveness
  conference, plus numerous publications
• Isabel Evans: Achieving Software Quality Through Teamwork (2004 book
  & associated articles)
• (Neil Thompson &) Mike Smith:
    – Holistic Test Analysis & Design, STARWest 2007
    – Value Flow ScoreCards, BCS SIGiST 2008 & Unicom Next Generation Testing
      Conference 2009)
• Complexity: a guided tour (Melanie Mitchell, 2009)
• The theory that would not die (Sharon Bertsch McGrayne, 2011 – about
  Bayes)
• Artificial Intelligence: A Modern Approach (Stuart Russell & © Thompson
  Peter Norvig, 3rd edition 2010)                                information
                                                                 Systems
                                                                    Consulting Ltd   69
Next steps (I suggest)
• Choose your Let’s Test sessions carefully
• If you haven’t already, do some reading about
  scientific method(s), and the (ongoing) history &
  philosophy of science
• In your workplace, think more about what
  techniques & tools you use, when, where, why etc
• *If* you desire more structure in your own toolbox:
  – would it look like mine?
  – if not, what?
• For myself:
  – more work on Bayesianism and AI
  – in science: “Design of Experiments”
  – Risk-Inspired Testing is only a part of   © Thompson
    “Value-Inspired Testing”!                   information
                                                Systems
                                                Consulting Ltd   70
• Thanks for listening!
• Questions & discussion...



      Contact:
        NeilT@TiSCL.com
        @neilttweet ©Thompson
                     information
                     Systems
                     Consulting Ltd   71

Mais conteúdo relacionado

Destaque

Destaque (17)

Sejutakaos Presentation (MY)
Sejutakaos Presentation (MY)Sejutakaos Presentation (MY)
Sejutakaos Presentation (MY)
 
ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6
 
Trombosisvenosa profunda
Trombosisvenosa profundaTrombosisvenosa profunda
Trombosisvenosa profunda
 
The ABCs of Strategy
The ABCs of StrategyThe ABCs of Strategy
The ABCs of Strategy
 
Wh questions
Wh questionsWh questions
Wh questions
 
Aemfi and the microfinance sector
Aemfi and the microfinance sectorAemfi and the microfinance sector
Aemfi and the microfinance sector
 
Presentation1
Presentation1Presentation1
Presentation1
 
Elasticsearch und die Java-Welt
Elasticsearch und die Java-WeltElasticsearch und die Java-Welt
Elasticsearch und die Java-Welt
 
04. TCI Future Prosperity 2050 (2)
04. TCI Future Prosperity 2050 (2)04. TCI Future Prosperity 2050 (2)
04. TCI Future Prosperity 2050 (2)
 
Webvisions ny
Webvisions nyWebvisions ny
Webvisions ny
 
Thoughts and Actions
Thoughts and ActionsThoughts and Actions
Thoughts and Actions
 
Cerita kanak
Cerita kanakCerita kanak
Cerita kanak
 
22. TCI Climate of the Nation Flagship Report 2012
22. TCI Climate of the Nation Flagship Report 201222. TCI Climate of the Nation Flagship Report 2012
22. TCI Climate of the Nation Flagship Report 2012
 
Nou paradigma
Nou paradigmaNou paradigma
Nou paradigma
 
12 practice paper_3_h_-_set_a_mark_scheme
12 practice paper_3_h_-_set_a_mark_scheme12 practice paper_3_h_-_set_a_mark_scheme
12 practice paper_3_h_-_set_a_mark_scheme
 
Embarazo precoz
Embarazo precozEmbarazo precoz
Embarazo precoz
 
Making conference
Making conferenceMaking conference
Making conference
 

Semelhante a Organise Your Toolbox Around Congruence, Systems Thinking & Emergence

Six schools, three cultures of testing: future-proof by shifting left, down, ...
Six schools, three cultures of testing: future-proof by shifting left, down, ...Six schools, three cultures of testing: future-proof by shifting left, down, ...
Six schools, three cultures of testing: future-proof by shifting left, down, ...Neil Thompson
 
Memes & Fitness Landscapes - analogies of testing with sci evol (2011)
Memes & Fitness Landscapes - analogies of testing with sci evol (2011)Memes & Fitness Landscapes - analogies of testing with sci evol (2011)
Memes & Fitness Landscapes - analogies of testing with sci evol (2011)Neil Thompson
 
History Class - For software testers
History Class - For software testersHistory Class - For software testers
History Class - For software testersJoris Meerts
 
Michelin Using TRIZ in the Product Development of Tweel
Michelin Using TRIZ in the Product Development of Tweel  Michelin Using TRIZ in the Product Development of Tweel
Michelin Using TRIZ in the Product Development of Tweel Richard Platt
 
Bug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutionsBug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutionsRIA RUI Society
 
Holistic Test Analysis & Design (2007)
Holistic Test Analysis & Design (2007)Holistic Test Analysis & Design (2007)
Holistic Test Analysis & Design (2007)Neil Thompson
 
Guide Controlled Experiments
Guide Controlled ExperimentsGuide Controlled Experiments
Guide Controlled Experimentslucius910
 
Empirical Methods in Software Engineering - an Overview
Empirical Methods in Software Engineering - an OverviewEmpirical Methods in Software Engineering - an Overview
Empirical Methods in Software Engineering - an Overviewalessio_ferrari
 
Ibc biological assay development & validation 2011 gra presentation
Ibc biological assay development & validation 2011 gra presentationIbc biological assay development & validation 2011 gra presentation
Ibc biological assay development & validation 2011 gra presentationGreyRigge Associates Ltd
 
Changing rules 1_stopcheating_slideshare
Changing rules 1_stopcheating_slideshareChanging rules 1_stopcheating_slideshare
Changing rules 1_stopcheating_slideshareSOASTA
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing ExplainedTechWell
 
Nick Fine - Scientific Design
Nick Fine - Scientific Design Nick Fine - Scientific Design
Nick Fine - Scientific Design uxbri
 
Lean Startup for Smart Entrepreneurs
Lean Startup for Smart EntrepreneursLean Startup for Smart Entrepreneurs
Lean Startup for Smart EntrepreneursClaudio Perrone
 
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...Neil Thompson
 

Semelhante a Organise Your Toolbox Around Congruence, Systems Thinking & Emergence (20)

Six schools, three cultures of testing: future-proof by shifting left, down, ...
Six schools, three cultures of testing: future-proof by shifting left, down, ...Six schools, three cultures of testing: future-proof by shifting left, down, ...
Six schools, three cultures of testing: future-proof by shifting left, down, ...
 
Memes & Fitness Landscapes - analogies of testing with sci evol (2011)
Memes & Fitness Landscapes - analogies of testing with sci evol (2011)Memes & Fitness Landscapes - analogies of testing with sci evol (2011)
Memes & Fitness Landscapes - analogies of testing with sci evol (2011)
 
History Class - For software testers
History Class - For software testersHistory Class - For software testers
History Class - For software testers
 
Exploratory Testing in Practice
Exploratory Testing in PracticeExploratory Testing in Practice
Exploratory Testing in Practice
 
Michelin Using TRIZ in the Product Development of Tweel
Michelin Using TRIZ in the Product Development of Tweel  Michelin Using TRIZ in the Product Development of Tweel
Michelin Using TRIZ in the Product Development of Tweel
 
Bug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutionsBug debug keynote - Present problems and future solutions
Bug debug keynote - Present problems and future solutions
 
Holistic Test Analysis & Design (2007)
Holistic Test Analysis & Design (2007)Holistic Test Analysis & Design (2007)
Holistic Test Analysis & Design (2007)
 
Guide Controlled Experiments
Guide Controlled ExperimentsGuide Controlled Experiments
Guide Controlled Experiments
 
DeepLearning
DeepLearningDeepLearning
DeepLearning
 
Empirical Methods in Software Engineering - an Overview
Empirical Methods in Software Engineering - an OverviewEmpirical Methods in Software Engineering - an Overview
Empirical Methods in Software Engineering - an Overview
 
Ibc biological assay development & validation 2011 gra presentation
Ibc biological assay development & validation 2011 gra presentationIbc biological assay development & validation 2011 gra presentation
Ibc biological assay development & validation 2011 gra presentation
 
Bebpa Nice 29 Sept 2011
Bebpa Nice 29 Sept 2011Bebpa Nice 29 Sept 2011
Bebpa Nice 29 Sept 2011
 
On Impact in Software Engineering Research (HU Berlin 2021)
On Impact in Software Engineering Research (HU Berlin 2021)On Impact in Software Engineering Research (HU Berlin 2021)
On Impact in Software Engineering Research (HU Berlin 2021)
 
Changing rules 1_stopcheating_slideshare
Changing rules 1_stopcheating_slideshareChanging rules 1_stopcheating_slideshare
Changing rules 1_stopcheating_slideshare
 
Exploratory Testing Explained
Exploratory Testing ExplainedExploratory Testing Explained
Exploratory Testing Explained
 
Nick Fine - Scientific Design
Nick Fine - Scientific Design Nick Fine - Scientific Design
Nick Fine - Scientific Design
 
Chaos engineering
Chaos engineering Chaos engineering
Chaos engineering
 
Lean Startup for Smart Entrepreneurs
Lean Startup for Smart EntrepreneursLean Startup for Smart Entrepreneurs
Lean Startup for Smart Entrepreneurs
 
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
 
The History of Software Testing
The History of Software TestingThe History of Software Testing
The History of Software Testing
 

Mais de Neil Thompson

Test Data, Information, Knowledge, Wisdom: past, present & future of standing...
Test Data, Information, Knowledge, Wisdom: past, present & future of standing...Test Data, Information, Knowledge, Wisdom: past, present & future of standing...
Test Data, Information, Knowledge, Wisdom: past, present & future of standing...Neil Thompson
 
From 'Fractal How' to Emergent Empowerment (2013 article)
From 'Fractal How' to Emergent Empowerment (2013 article)From 'Fractal How' to Emergent Empowerment (2013 article)
From 'Fractal How' to Emergent Empowerment (2013 article)Neil Thompson
 
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...Neil Thompson
 
Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)Neil Thompson
 
Risk and Testing (2003)
Risk and Testing (2003)Risk and Testing (2003)
Risk and Testing (2003)Neil Thompson
 
'Best Practices' & 'Context-Driven' - Building a bridge (2003)
'Best Practices' & 'Context-Driven' - Building a bridge (2003)'Best Practices' & 'Context-Driven' - Building a bridge (2003)
'Best Practices' & 'Context-Driven' - Building a bridge (2003)Neil Thompson
 
Risk Mitigation Trees - Review test handovers with stakeholders (2004)
Risk Mitigation Trees - Review test handovers with stakeholders (2004)Risk Mitigation Trees - Review test handovers with stakeholders (2004)
Risk Mitigation Trees - Review test handovers with stakeholders (2004)Neil Thompson
 
ROI at the bug factory - Goldratt & throughput (2004)
ROI at the bug factory - Goldratt & throughput (2004)ROI at the bug factory - Goldratt & throughput (2004)
ROI at the bug factory - Goldratt & throughput (2004)Neil Thompson
 
Feedback-focussed process improvement (2006)
Feedback-focussed process improvement (2006)Feedback-focussed process improvement (2006)
Feedback-focussed process improvement (2006)Neil Thompson
 
Thinking tools - From top motors through s'ware proc improv't to context-driv...
Thinking tools - From top motors through s'ware proc improv't to context-driv...Thinking tools - From top motors through s'ware proc improv't to context-driv...
Thinking tools - From top motors through s'ware proc improv't to context-driv...Neil Thompson
 
Value Flow Science - Fitter lifecycles from lean balanced scorecards (2011)
Value Flow Science - Fitter lifecycles from lean balanced scorecards  (2011)Value Flow Science - Fitter lifecycles from lean balanced scorecards  (2011)
Value Flow Science - Fitter lifecycles from lean balanced scorecards (2011)Neil Thompson
 
What is Risk? - lightning talk for software testers (2011)
What is Risk? - lightning talk for software testers (2011)What is Risk? - lightning talk for software testers (2011)
What is Risk? - lightning talk for software testers (2011)Neil Thompson
 

Mais de Neil Thompson (12)

Test Data, Information, Knowledge, Wisdom: past, present & future of standing...
Test Data, Information, Knowledge, Wisdom: past, present & future of standing...Test Data, Information, Knowledge, Wisdom: past, present & future of standing...
Test Data, Information, Knowledge, Wisdom: past, present & future of standing...
 
From 'Fractal How' to Emergent Empowerment (2013 article)
From 'Fractal How' to Emergent Empowerment (2013 article)From 'Fractal How' to Emergent Empowerment (2013 article)
From 'Fractal How' to Emergent Empowerment (2013 article)
 
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
Value-Inspired Testing - renovating Risk-Based Testing, & innovating with Eme...
 
Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)Risk-Based Testing - Designing & managing the test process (2002)
Risk-Based Testing - Designing & managing the test process (2002)
 
Risk and Testing (2003)
Risk and Testing (2003)Risk and Testing (2003)
Risk and Testing (2003)
 
'Best Practices' & 'Context-Driven' - Building a bridge (2003)
'Best Practices' & 'Context-Driven' - Building a bridge (2003)'Best Practices' & 'Context-Driven' - Building a bridge (2003)
'Best Practices' & 'Context-Driven' - Building a bridge (2003)
 
Risk Mitigation Trees - Review test handovers with stakeholders (2004)
Risk Mitigation Trees - Review test handovers with stakeholders (2004)Risk Mitigation Trees - Review test handovers with stakeholders (2004)
Risk Mitigation Trees - Review test handovers with stakeholders (2004)
 
ROI at the bug factory - Goldratt & throughput (2004)
ROI at the bug factory - Goldratt & throughput (2004)ROI at the bug factory - Goldratt & throughput (2004)
ROI at the bug factory - Goldratt & throughput (2004)
 
Feedback-focussed process improvement (2006)
Feedback-focussed process improvement (2006)Feedback-focussed process improvement (2006)
Feedback-focussed process improvement (2006)
 
Thinking tools - From top motors through s'ware proc improv't to context-driv...
Thinking tools - From top motors through s'ware proc improv't to context-driv...Thinking tools - From top motors through s'ware proc improv't to context-driv...
Thinking tools - From top motors through s'ware proc improv't to context-driv...
 
Value Flow Science - Fitter lifecycles from lean balanced scorecards (2011)
Value Flow Science - Fitter lifecycles from lean balanced scorecards  (2011)Value Flow Science - Fitter lifecycles from lean balanced scorecards  (2011)
Value Flow Science - Fitter lifecycles from lean balanced scorecards (2011)
 
What is Risk? - lightning talk for software testers (2011)
What is Risk? - lightning talk for software testers (2011)What is Risk? - lightning talk for software testers (2011)
What is Risk? - lightning talk for software testers (2011)
 

Último

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 

Organise Your Toolbox Around Congruence, Systems Thinking & Emergence

  • 1. Testing as Value Flow Management: Organise your toolbox around Congruence, Systems Thinking & Emergence v1.0 Thank you all for being here! Neil Thompson ©Thompson Thompson information Systems Consulting Ltd information Systems Consulting Ltd 1
  • 2. What is software testing? Definitions through the ages PERIOD EXEMPLAR OBJECTIVES SCOPE APPROACH DEBUGGING Weinberg Test + Debug Programs Think, Iterate Pre- (Psychology) (1961 & 71) 1957 DEMONSTRATION Hetzel Show meets Verify, +maybe Programs (Method) (1972) requirements Prove, Validate, “Certify” 1976 DESTRUCTION Myers Find bugs Programs, Sys, + Walkthroughs, Reviews (Art) (1976 & 79) Acceptance & Inspections 1983 ? Measure EVALUATION quality 1984 PREVENTION Beizer Find bugs, + Integration (Craft?) (1984) show meets requirements, +prevent bugs 2000 Context-Driven Find bugs, in service Realistic, pragmatic, SCHOOL(S) Kaner et al of improving quality, people-centric, no “best (1988 & 99) for customer needs practices” 2011 DEAD?? Several people... ©Thompson Overall periods developed after Gelperin & Hetzel, “The Growth of Software Testing”, information 1988 CACM 31 (6) as quoted on Wikipedia Systems Consulting Ltd 2
  • 3. Who claims software testing is dead? • Tim Rosenblatt (Cloudspace blog 22 Jun 2011) “Testing Is Dead – A Continuous Integration Story For Business People” • James Whittaker (STARWest 05 Oct 2011) “All That Testing Is Getting In The Way Of Quality” • Alberto Savoia (Google Test Automation Conference 26 Oct 2011) “Test Is Dead” • (There *may* be others?) © Thompson information Systems Consulting Ltd 3
  • 4. Proposed alternative(s) to death PERIOD EXEMPLAR OBJECTIVES SCOPE APPROACH DEBUGGING Weinberg Test + Debug Programs Think, Iterate Pre- (Psychology) (1961 & 71) 1957 DEMONSTRATION Hetzel Show meets Verify, +maybe Programs (Method) (1972) requirements Prove, Validate, “Certify” 1976 DESTRUCTION Myers Find bugs Programs, Sys, + Walkthroughs, Reviews (Art) (1976 & 79) Acceptance & Inspections 1983 ? Measure EVALUATION quality 1984 PREVENTION Beizer Find bugs, + Integration (Craft?) (1984) show meets requirements, +prevent bugs 2000 Context-Driven Find bugs, in service Realistic, pragmatic, SCHOOL(S) Kaner et al of improving quality, people-centric, no “best (1988 & 99) for customer needs practices” 2011 Experiment & Science? Evolve? Neo-Holistic? ©Thompson And see http://scott-barber.blogspot.co.uk/2011/11/on-alleged- information death-of-testing.html (I’ll return to this later) Systems Consulting Ltd 4
  • 5. Three themes... Theme A: Can software testing become scientific? • Boris Beizer (1984) experimental process, and (1995) falsifiability (the well-known Popper principle) • Rick Craig & Stefan Jaskiel (2002) black-box science & art, “white-box” science • Marnie Hutcheson (2003) software art, science & engineering Kaner, Bach & Pettichord (2002) explicit science: • theory that software works, experiments to falsify • testers behave empirically, think sceptically, recognise limitations of “knowledge” • testing needs cognitive psychology, inference, conjecture & refutation • all testing is based on models ©Thompson information NB: also, several blogs have already addressed “testing as a science” Systems Consulting Ltd 5
  • 6. Elsewhere in this very conference! You are a scientist – Embracing the scientific method in software testing: Christin Wiedemann “A software tester is nothing less than a scientific researcher, using all his/her intelligence, imagination and creativity to gain empirical information about the software under test. But how do we prove to others that software testing is indeed a scientific method, that testing actually requires certain skills (from www.lets-test.com 21 Mar and that our work deserves recognition and respect? And even 2012 – bold emphases added here more importantly, how do we convince ourselves of our own value? by Neil Thompson) Starting with Galileo’s struggles to prove that the Earth is round, I will give a brief historical overview of the birth and use of the scientific method, drawing parallels to the evolvement of testing over the last decades. By going through the steps of the scientific method I will show that good software testing adheres to those principles. I will also talk about how truly understanding and embracing the scientific method will make us better and more credible testers. And boost your self-confidence!” Changing careers after eleven years as an astroparticle physicist, Christin Wiedemann brings her logical and analytical problem-solving skills into the world of testing. Four years down the road, she is still eager to learn and to find new ways to test more efficiently. In her roles as tester, test lead, trainer and speaker, Christin uses her scientific background and pedagogic abilities to continually develop her own skills ©Thompson and those of others. Christin is constantly trying new approaches and is keen to share her experiences. information Systems Follow c_wiedemann on twitter.com or visit Christin’s blog christintesting.blogspot.com. Consulting Ltd 6
  • 7. Why should it be useful to treat testing as a science? System Requirements/ Specification/ Design Expected Test result Y “passes” Test result = Test Expected? Test N Test Product result “fails” Hypothesis Expected Hypothesis result Experiment Y confirmed result = Expected? Experiment N Hypothesis Part of the Experiment rejected cosmos result ©Thompson information Note: this is starting with some “traditional” views of testing & science Systems Consulting Ltd 7
  • 8. So, how would these “methods” look if we adopt Myers & Popper? After Glenford Myers, System Requirements/ “Aim to “The Art of Software Testing” Test is Specification/ Design find bugs” Y “successful” Test result = Test “as aim”? Test N Test is so far Product result “unsuccessful” “Aim to Hypothesis Falsification falsify Experiment Y confirmed hypothesis” result = “as aimed”? Experiment N Hypothesis Part of the Experiment not yet cosmos result After Karl Popper, falsified “The Logic of Scientific ©Thompson Discovery” information Systems Consulting Ltd 8
  • 9. A current hot topic: testing versus “just checking” (binary disease?) System Requirements/ Specification/ Design Expected Check result Check Y “passes” result = “Check” Expected? Check N Check Product result “fails” Other oracles Other quality-related System Requirements/ Ways criteria Quality- Specification/ Design could fail Test result = Y related info appropriate Test ? Info on Test N quality Product result issues ©Thompson information Systems Consulting Ltd 9
  • 10. But wait! Is there one, agreed, “scientific method”? • No! These are the first dozen I found (unscientifically*) • Only two are near-identical, so here are eleven variants, all with significant differences! (extent, structure & content) ©Thompson • The philosophy of science has evolved, still evolving... information Systems * Images from various websites, top-ranking of Google image search May 2011 Consulting Ltd 10
  • 11. And is science enough to guide us? • “Traditional” methods think not, eg: (old TMap: http://physicsarchives.com/course/ Structuredtesting_files/image022.gif) • And agile manifesto emphasises: – Individuals and interactions over processes and tools – Working software over comprehensive documentation – Customer collaboration over contract negotiation – Responding to change over following a plan (some Context-Driven Testing principles resonate with these) • So, can we have a general framework which is adaptable to all situations? I propose so, built around science +: – “Value Flow”; and Theme B © Thompson – “Context-Driven” Theme C information Systems Consulting Ltd 11
  • 12. Theme B: The software lifecycle as a flow of value (not “the” V-model, but...) • Working systems have value; documents in themselves do not; so this is the RAW MATERIALS FINISHED PRODUCT quickest route! a b c Stated requirements Demonstrations & acceptance tests Programming • SDLCs are necessary, but introduce impediments to value flow: misunderstandings, disagreements… documents are like inventory/stock, or “waste” Implicit a b c a b d requirements ’ Documented ? Acceptance tests I I requirements ? Meeting / escalation to agree Intermediate documentation! ©Thompson information Programming Systems Consulting Ltd 12
  • 13. To improve value flow: agile methods following principles of lean manufacturing LEVELS OF DOCUMENTATION, FLOW OF FULLY-WORKING pushed by specifiers SOFTWARE, pulled by customer demand + Test Specifications Requirements Accepted System- tested + Func Spec WORKING SOFTWARE Integrated + Technical Design Unit / Component -tested + Unit / Component ©Thompson information specifications Systems Consulting Ltd 13
  • 14. Now, what do people mean by “testing is dead”? Requirements Functional & NF specifica- tions We keep talking about Technical “agile v waterfall” – spec, Hi-level design so, er, um, we mean Detailed “waterfall is dead“ designs Coding Testing ©Thompson information Systems Consulting Ltd 14
  • 15. Or do they mean this? Requirements Acceptance Testing Developers and users Functional & are better at Unit- NF specifica- tions System Testing Integration & Acceptance levels than generalist Technical spec, Hi-level Integration Testing testers, so we mean design “testers are dead, except for Detailed Unit offshored system designs Testing testing“ – oh, er, um, maybe just the functional part Coding ©Thompson information Systems Consulting Ltd 15
  • 16. But I say, testing is all of this! Levels of system & Risks & Levels of Levels of service testing specification stakeholders integration responsib’s + Business Users may Business, processes Acceptance be unhappy (so Requirements Users, Testing generate Business Analysts, Acceptance Testers confidence) System may contain Functional & Architects, bugs not found by System NF specifica- “independent” Testing lower levels (so seek tions testers bugs of type z) Technical Designers, Integration Units may not interact spec, Hi-level properly (so seek bugs integration Testing design testers of type y) Individual units may Detailed Developers, Unit designs Testing malfunction (so seek bugs unit testers of type x) MAY TEST BEFORE Remember: not only for waterfall or V-model SDLCs, rather SEEING SPECS iterative / incremental go down & up ©Thompson through layers of stakeholders, information specifications & system integrations Systems Consulting Ltd 16
  • 17. Plus this! Levels of Levels of Levels of Levels of Test Test specification Review Analysis Design Requirements Functional & NF specifica- tions Technical spec, Hi-level design Detailed designs • Remember the A & R in “EuroSTAR”! • And remember Verification (“checking”) & Validation ©Thompson information Systems (working definition here, fitness for purpose) Consulting Ltd 17
  • 18. Can think of value as flowing down through, then up through, these layers Levels of system & Tested Desired Levels of service (“known”) quality stakeholders integration quality + Business Business, processes Users, Business Analysts, Acceptance Testers Architects, “independent” testers Designers, integration testers Developers, unit testers • Testing’s job to manage both these flows! • And also, extend back into marketing / feasibility and ©Thompson information Systems forward into maintenance & enhancement Consulting Ltd 18
  • 19. This seems similar to Scott Barber’s not-dead view of what testing should be • “Add value to companies... • by helping them to deliver products (whether those products are software, contain software, use software, or are designed/developed/manufactured using software)... • faster, cheaper and appropriately fit for use & purpose, while... • helping those companies identify, mitigate and control associated business risks.” http://scott- barber.blogspot.co.uk/2011/11/on-alleged- ©Thompson information death-of-testing.html Systems Consulting Ltd 19
  • 20. So: any lifecycle should be improvable by considering the value flow through it • The context influences what deliverables are mandatory / optional / not wanted • Use reviews to find defects & other difficulties fast • Do Test Analysis before Test Design (again, this finds defects early, before a large pile of detailed test scripts has been written) • Even if pre-designed testing is wanted by stakeholders, do some exploratory testing also • “Agile Documentation”*: – use tables & diagrams – consider wikis etc – care with structure © Thompson information * These points based on a book of that name, by Andreas Rüping Systems Consulting Ltd 20
  • 21. Theme C: Context-Driven • This conference is the first major European conference to be explicitly aligned with Context-Driven testing • The idea of Let’s Test gained critical mass arising out of conversations at CAST 2011 Seattle (CAST, the Conference of the Association for Software Testing) – AST is dedicated to “advancing the understanding of the science and practice of software testing according to Context-Driven principles” • Recent blog posts by Context-Driven’s leaders have debated whether it should still be a “school”, or whether considering Context-Driven as an “approach” would aid useful controversy (and hence progress) rather than polarisation • Either way, the Context-Driven principles still retain their wording, illustrations, examples and commentary on www.context- driven-testing.com Selected sources: http://lets-test.com/about/ http://www.associationforsoftwaretesting.org/ © Thompson information http://context-driven-testing.com/?page_id=9 Systems http://www.satisfice.com/blog/archives/724 Consulting Ltd 21
  • 22. Context-Driven principles, illustrations, examples & commentary • Seven Principles (very well-known, so not reproduced here) • But also... Selected illustrations (paraphrased by me): – testing serves project and its stakeholders – not just for development, but could be for qualifying, debugging, investigating, selling etc (note: this presentation does focus on project/product SDLC) – your oracle(s) are not the only possible oracles – software can fail in many ways, often hidden – tests should focus on different risks as the software becomes more stable – test artifacts are worthwhile to the degree that they satisfy their stakeholders’ relevant needs – testing provides information and thereby reduces uncertainty – beware invalid / misleading / inappropriate metrics • Examples (of very different contexts): – airplane control; internet-hosted word-processor © Thompson • Commentary... information Systems Consulting Ltd 22
  • 23. My visualisation of the Context-Driven commentary ........................................................NEEDS OF STAKEHOLDERS.................................................. Adjust if Everything Can’t/won’t Try to change context tailored to adjust if context [or X needs context context just choose changes appropriate contexts?] Things: • just learned Start from “best No “best Optimised for X Optimised for • seen others do practices” practices” this context “best” context Context- Context- Context- Context- Context- Oblivious Aware Driven Specific Imperial • The commentary also contrasts “agile testing” & ©Thompson information Systems “standards-driven testing”... Consulting Ltd 23
  • 24. So I see a kind of hierarchy here + some notional evolutionary paths Standards- Context- Driven Driven • “Driven” is the key word Context- Context- Context- Aware Specific Imperial Agile + We could Waterfall Strict V-model (etc) add... Context- ©Thompson information Oblivious Systems Consulting Ltd 24
  • 25. But this diversity may challenge people’s differing desires for structure No tools → Few tools → Many tools (and simple) (and sophisticated) ©Thompson information Systems (based on http://www.needham.eu/wp-content/uploads/2011/01/ascent-of-man1.jpg) Consulting Ltd 25
  • 26. So here is my structured toolbox 1. Congruence 2. Systems 3. Emergence Thinking Themes B (Value Flow) Framework & C (Context) Scientific method Theme A Techniques & tools © Thompson information Systems Consulting Ltd 26
  • 27. How the layers work Framework 1. Congruence 2. Systems Thinking 3. Emergence Design... Design... Experiment Hypothesis Scientific Perform... Test... method Experiment Hypothesis Iterate OK N yet? Evolve... Y Select... Improve... • Sequence & iterations depend on the details ©Thompson Techniques information & tools of each area... Systems Consulting Ltd 27
  • 28. The Framework layer in more detail 2. Systems Thinking (plus a 1. Congruence documentation (broadish view) structure) © Thompson 3. Emergence (fed by Complexity theory) information Systems Consulting Ltd 28
  • 29. 1. Congruence • Originated by Virginia Satir: • (among other things) she moved therapy onwards from linear cause-effect to systems thinking • congruence is one of her main constructs: instead of placating, blaming, being “overly-reasonable” or being irrelevant, we should honour all three of: Context Self Others (Sector sequence rearranged by Neil Thompson to fit with other parts of this structure) • Adapted by Jerry Weinberg and applied in ©Thompson Quality Software Management etc information Systems Consulting Ltd 29
  • 30. One way to start using this Framework in a testing job (or whole project) • Can fit a “Kipling” analysis (not yet HOW?) to this structure Context WHEN WHERE Congruence WHAT Context Self Others WHY Self WHO Others • The context *may* dictate “How”, but ©Thompson better not to decide prematurely information Systems Consulting Ltd 30
  • 31. Use the science of Psychology (these are just examples Myers Briggs Type Indicators: of techniques & usages) • Attitudes (Ext/Int), Functions (Sens/Intu, Think/Feel), Lifestyle (Judg/Perc) • Am I right for this job? Need to work outside comfort zone? Work to understand other team members? in *this* Context... Context Self Others Self Others eg Myers-Briggs Psychology (individuals) Belbin Team Roles: • Plant, Resource investigator, Co- ordinator, Shaper, Monitor eg Belbin (team) evaluator, Teamworker, Implementer, Complete r finisher, Specialist ©Thompson information Systems • Often used to balance a team by having a variety Consulting Ltd 31
  • 32. The layered view of this Framework 1. Congruence Hypothesis Hypothesis • I will be a success in • There are more team tensions this new project... than we want, so... • ...But I may need to • ...Maybe team is unbalanced Scientific work outside my comfort zone Experiment method Experiment • Ask team members if they would agree to fill in a • Workshop to form a questionnaire view of team members’ • Follow up with team-building personality types workshop Techniques Myers-Briggs Belbin ©Thompson information & tools Systems Consulting Ltd 32
  • 33. Why it’s important to start with Congruence & Psychology • You may avoid taking a role very unsuited to your personality / ability to work outside comfort zone (or at least you’re warned of the challenge) • People vary so widely – if you deal with people in ways they do not appreciate, that dysfunction can hinder everything else • If you upset people at the start of a project, it’s an uphill struggle to repair relationships • Better to understand people’s motivations; can reduce conflicts • As project proceeds, psychology can give a much better understanding of processes at work © Thompson information Systems Consulting Ltd 33
  • 34. A story about the power of congruence • “Missing link” fossils of fish evolving legs & crawling onto land – Prof. Jenny Clack: – used connections to get drilling access to Bradford Museum’s concrete-encased Pholiderpeton, where Panchen had previously failed; then – through personal contacts, found Acanthostega specimens in Cambridge Univ basement; led to... – Icthyostega: Denmark never gave permission to visit Greenland site until Clack persuaded Jarvik – “kindred personality type, wouldn’t threaten him” © Thompson www.theClacks.org.uk information wikipedia Systems Consulting Ltd 34
  • 35. Understanding Context more specifically • Refine Kipling analysis into complementary viewpoints of quality; considers & extends Process Improv’t HOW “Quality is value to some persons – (if context dictates) who matter Financial Infra- structure (after Weinberg) WHEN WHERE Value Flow ScoreCards WHAT Product Context WHY Self Others Context Supplier Customer Self WHO Others • Documented in “Value Flow ScoreCards” structure co-developed by Neil Thompson ©Thompson information with Mike Smith Systems Consulting Ltd 35
  • 36. The Value Flow ScoreCard in action WHO... Financial Supplier Process Product Customer Financial Improv’t & Infra- structure Supplier Improv’t Customer WHY Process Product WHAT, WHEN, WHERE HOW • It’s just a table! …Into which we can put • Foundations, useful things… • Could start with repositionable how it’s meant to paper notes, then can model behaviour... put in spreadsheet(s) • NB the measures & targets need not be quantitative, could be qualitative, eg ©Thompson information rubrics Systems Consulting Ltd 36
  • 37. More about Value Flow ScoreCards • Based on Kaplan & Norton Balanced Business Scorecard Financial and other “quality” concepts Efficiency Productivity • The views of quality developed On-time, in budget - Cost of quality by Isabel Evans after Garvin Supplier Customer VALIDATION Upward Risks • Value chain ≈ Supply chain: management Information Benefits Acceptance Satisfaction – in the IS SDLC, each participant gathering - Complaints should try to ‘manage their Improve- supplier’ ment eg TPI/TMM… – for example, development Predictability Learning supplies testing Innovation (in trad lifecycles, at least!) – we add supplier viewpoint to the other 5, giving a 6th view of quality Process Product • So, each step in the Compliance VERIFICATION value chain can manage its eg ISO9000 Repeatability Risks Test coverage inputs, outputs and - Mistakes - Faults - Failures ©Thompson other stakeholders information Systems Consulting Ltd 37
  • 38. Value Flow ScoreCards can be cascaded (...but you don’t necessarily need all of these!) Business Analysts Requirements Reviewers Acceptance Test Analysts AT Designers & Scripters Acceptance Testers Architects Func Spec Reviewers Sys Test Analysts ST Designers & Scripters Sys Testers Designers Tech Design Reviewers Int Test Analysts IT Designers, Scripters & Executers Component Test Analysts, Designers & Executers? Pieces of a jig-saw In addition to “measuring” quality information within the SDLC: via pair programming? • can use to align SDLC principles with ©Thompson Developers higher-level principles from the information Systems organisation Consulting Ltd 38
  • 39. Example - Process improvement using Goldratt’s Theory of Constraints: “Swimlane” symptoms, causes & proposed remedies Supplier Process Product Customer Financial Improvement & Upward Compliance VERIFICATION VALIDATION Efficiency Infrastructure management eg ISO9000 Risks Risks Productivity eg TPI/TMM… Repeatability Test coverage Benefits On-time, Predictability Information Acceptance in budget Learning gethring - Faults Satisfaction Innovation - Mistakes - Failures - Complaints - Cost of quality CURRENT ILLS Objectives CONFLICT RESOLUTION FUTURE REMEDIES Measures PRE- REQUISITES Targets TRANSITION Initiatives ©Thompson Note: this is similar to Kaplan & Norton’s “Strategy Maps” (Harvard Business School Press 2004) information Systems When cause-effect branches form feedback loops, this becomes part of Systems Thinking Consulting Ltd 39
  • 40. And that leads into... 2. Systems Thinking • Understanding how things influence each other *as a whole* – overall behaviour is not merely the sum of its parts • Why talk about this here? – many areas of science & human endeavour now use it – because simple cause-effect thinking has turned out inadequate for the real world: • (Virginia Satir’s therapy methods; Jerry Weinberg’s teachings) • public affairs, business management • the earth’s climate and biological ecosystems – IT systems must be part of business / human systems to provide value – if we want testing to manage value flow, we should get a good understanding of how value actually flows, in natural and human systems, especially usage *and creation* of IT systems • See also *general* systems theory, cybernetics etc • Early pioneers Bogdanov, Wiener, von Bertalanffy © T i hompson nformation • Feedback loops are key... S C ystems onsulting Ltd 40
  • 41. Goldratt’s ToC may be seen as a special case of Systems Thinking • Linear cause- ROOT CAUSES INTERMEDIATE CAUSES effect chains / SYMPTOMS trees • Trees may “re- root” to form SYMPTOMS feedback “Feed-round” loops might be a better term! • Some loops   reinforce  (vicious or     virtuous  circles); other A loop is balancing loops balance  if it contains an odd number of ©Thompson  information opposing links; Systems else it is reinforcing Consulting Ltd 41
  • 42. An example of Systems Thinking reinforcing & balancing loops Duration of  working hours  Degree      Health of live failures Peer- Short-term approval Management- financial reward approval reward reward BALANCING REINFORCING BALANCING LOOP 1: LOOP LOOP 2: Quality targets  Capacity of staff     Overall Long-term   acceptability financial of projects “Coping” reward  mechanisms Effectiveness for fatigue  Efficiency (per week) (per hour) etc   ©Thompson Notation varies among different authors; this is Neil Thompson’s, information Systems incorporating elements of Jerry Weinberg’s & Dennis Sherwood’s Consulting Ltd 42
  • 43. How to do Systems Thinking using this Framework • Draft cause-effect trees for bad things you want to fix, and/or good things you want to achieve • Use the VFSC to help sequence these, and Systems Thinking identify & fill gaps • Look for feedback loops; exploit  virtuous ones and balance vicious Supplier Process Product Customer Financial Improv’t & Infra ones Value Flow ScoreCards Context Self Others ©Thompson information Systems Consulting Ltd 43
  • 44. 3. Emergence • Why consider this in addition to Systems Thinking? – although “unintended consequences” can happen in systems (eg Darwinian evolution), it seems something more subtle is driving the most valued innovation (eg Boolean networks, proteins, cells) – this is Complexity theory: includes various topics eg fractal patterns, unification of seemingly different phenomena, Emergent properties & behaviours eg organic chemistry, biological life via genetics, social cooperation (via memetics??), consciousness! – there are analogies specifically useful in IT systems, eg Bayesian learning, Artificial Intelligence – complexity & emergence are multidisciplinary subjects; we can, and should, learn much from other fields beyond IT – another aspect is self-organisation: this is a factor in agile teams – as software and its integration into human society becomes exponentially more complex, connected and pervasive, we may need a paradigm shift to be able to © Thompson test such systems adequately information Systems Consulting Ltd 44
  • 45. More about complexity & emergence • Complexity science: uncovering & understanding the deep commonalities that link natural, human and artificial systems (resequenced quote from www.santafe.edu) • The systems we test are evolving though these levels • Used by Jurgen Appelo in agile “Management 3.0” • Does our validation care about unexpected phenomena arising out of use of our systems, eg stockmarket runaways, road traffic jams? • Could network theory (a unification of graph theory etc) suggest improved or new test design techniques? (focus on relationships, help performance & resilience testing) • Large populations, “big data”, wisdom of crowds, grounded theory...? • Evolution (not only of biology but of other things – see Per Bak’s sandpile analogy) is believed to proceed though “punctuated equilibria”; this could happen to testing © Thompson i nformation methods? Let’s explore “adjacent possibles” S ystems C onsulting Ltd 45
  • 46. So... Complexity & Emergence in this Framework Systems thinking Information, Purpose, Communication, Feedback, Control Non-linearity General/universal systems principles Similar / different behaviours at different scales Technology progress, (Chaordic) Nested hierarchies of scales neural computing, innovation other AI Complexity Emergence ENABLES & INFORMS ©Thompson Analogies between information natural, human & artificial systems Bayesian philosophy of science Systems Consulting Ltd 46
  • 47. Another “Complexity” point • Although I’ve drafted this structure for personal use, arguably it’s “fractal” – could be used on larger scales, eg: – your team in the project – your project in the programme – your programme in the organisation – your organisation in the market... • Principles apply both to the live usage of systems we’re producing, and the “processes” we use to develop & test © Thompson information Systems Consulting Ltd 47
  • 48. Summary, and some example techniques (viewpoint from side) Framework 1. Congruence 2. Systems 3. Emergence Evolve... (& Psychology) Thinking (& VFSC) Design & perform... Experiments Experiments Experiments Scientific method Design & test... Hypotheses Hypotheses Hypotheses Select & Techniques Techniques Techniques improve... & tools & tools & tools Organisational Effects & mapping Factors mapping Risk-Inspired testing + Bayesian? ©Thompson information MOI(J) model + science? Systems Consulting Ltd 48
  • 49. Example (i): Organisational Mapping Various uses, eg to help: • an organisation with its group dynamics • a group with inter-group relationships 8. RULES • an individual with its context 7. KEY PHRASES ORGANISATION 5. THINGS GROUP Context 1. INDIVIDUAL Self 2,3,6. 4. RELATIONSHIPS Others 9. POWER, Psychology PERFORMANCE, Notes: PROBLEMS, PLANS, • This instance is based on Jerry Weinberg’s PAIN, PLEASURE version as presented at AYE 2011 (adapted from 10,11. ANYTHING ELSE! Satir’s approach to family system sculpting) ©Thompson • Technique needs particular care in its use, because can information expose normally-hidden opinions and arouse emotions Systems Consulting Ltd 49
  • 50. Example (ii): Effects & Factors mapping • (This instance is based on Esther Derby & Don Gray version as presented at AYE 2011 (but see other versions, eg Balic & Ottersten, which emphasises WHO, HOW & WHAT driven by WHY) • Centred on aim, eg Systems Thinking solve a specific problem Structures  • Does not use EFFECTS swimlanes – free- form better for initial Patterns flexible thinking & FACTORS Aim brainstorming? Events • Could be swimlaned afterwards! Value Flow ScoreCards Context Self Others ©Thompson information Systems Consulting Ltd 50
  • 51. Example (iii): Risk-Inspired Testing • This goes beyond many definitions of “Risk-Based Testing”, and integrates them all • Not only testing against identified Product risks • Not only prioritising Objectives tests RISK RISK RISK RISK RISK RISK THREATS TO SUCCESS • Involves all Measures stakeholders Targets • Considers risks in all Initiatives aspects of Supplier Process Product Customer Financial Improv’t & Infra Project, Process & Product Value Flow ScoreCards Context Self Others ©Thompson information Systems Consulting Ltd 51
  • 52. Example (iv): MOI(J) model of leadership Information + scientific jiggling? (Jiggling) Organisation Motivation + new information! © Thompson information Systems Consulting Ltd 52
  • 53. Summary, and some example techniques (3-dimensional viewpoint) + science? (ii) Effects & Factors mapping (iv) MOI(J) (iii) Risk-Inspired testing model (i) Organisational mapping + new information! + Bayesian? © Thompson information Systems Consulting Ltd 53
  • 54. Extending your repertoire of techniques • A useful collection of “models for strategic thinking”: – has wider use than DOING just strategy Self- Helping others – classified by... improvement to improve (my paraphrase)....... MYSELF OTHERS Better – note similarity to Self- understanding understanding congruence of others THINKING Original: http://www.visual-literacy.org/ • Another source is the “periodic table of periodic_table/periodic_table.html visualisations”, although I would warn: – it’s not really periodic – you can’t see the visualisations overall at a glance – I think I could improve the information and its organisation eg see Stephen Few’s comments: http://www.perceptualedge.com/blog/?p=81 – the metaphor is rather cliched; another author has even produced a “periodic table of ©Thompson periodic tables” information Systems Consulting Ltd 54
  • 55. “Emerging Topics” Bayesian thinking & Artificial Intelligence © Thompson information Systems Consulting Ltd 55
  • 56. Bayesian thinking: what it is • Originated by Rev. Thomas Bayes in 1740s, but not published until after his death, by Rev. Richard Price 1763 & 1764: – “An essay towards solving a problem in the doctrine of chances” – a paper on the Stirling - De Moivre Theorem (dealing with series expansions) • As used today, relies on the inductive Confidence (probability) that A causes B... reasoning development by Pierre-Simon Based on initial data Laplace: (or even guess) – “Essai philosophique sur les probabilités“, 1814 (Re-)Calculate Use to • Is an alternative view of probabilities to probability make decisions the traditional “frequentist” approach Get new/revised • Has various “equation” forms, but here is data when available a simplified flowcharted version... Info: The theory that would not die, Sharon Bertsch McGrayne; © Thompson information wikipedia; Systems baumanrarebooks.com; bookrags.com Image: baumanrarebooks.com Consulting Ltd 56
  • 57. A brief history of Bayesianism • After Laplace, became derelict, defended with little success by... • ...1939 book by geophysicist Harold Jeffreys, Theory of Probability; but then • Kolmogorov was “converted” & Turing used successfully in 2nd World War • 1950s & 1960s Arthur & Robert Bailey used in insurance • 1960s successes in medical statistics, discouraging nuclear accidents, text analysis, election prediction. • But mainstream appreciation didn’t come until computing power attained “industrial strength” support – now used in spam filters and many other applications © Thompson Info: The theory that would not die, Sharon Bertsch McGrayne information Systems Images: wikipedia, clipart, ezinedesigner.com Consulting Ltd 57
  • 58. Bayesianism added to Risk-Inspired Testing Objectives Confidence (probability) RISK RISK RISK RISK RISK RISK THREATS TO SUCCESS that A causes B... Measures Based on initial data Targets (or even guess) Initiatives Supplier Process Product Customer Financial Improv’t Use to (Re-)Calculate & Infra TECHNIQUES & make probability COVERAGE decisions TARGETS Get new/revised data when available System Requirements/ Specification/ Design “Aim to Test is find bugs” Y “successful” Test result = Test “as aim”? Test N Test is so far Product result “unsuccessful” ©Thompson information Systems Consulting Ltd 58
  • 59. Why do I bring up the subject of Artificial Intelligence here? • (as mentioned earlier) we may need a paradigm shift to be able to test such systems adequately • See Kaner: Software testing as a social science • Also, Bayesianism is a key part of Computers AI itself • We have an Books important and difficult job to do Language here! ©Thompson Tools information Systems Some enablers for social sciences Consulting Ltd 59
  • 60. What do I mean by Artificial Intelligence? • Depending on your definition, AI is already here (medical diagnoses, Bayesian spam filters etc) • But some visions (eg Kurzweil “singularity”) have it as amazing power & pervasiveness, in the not-too-far future (about 2045) • Here is my sketch of Russell & Norvig’s view... (note structural similarity to “The Decision Book” Communicating, p • Is Rational” DOING erceiving & acting better than eg Turing Test (talks like...” intelligent agents “Human”? Dealing with uncertainty HUMANLY RATIONALLY modelling “laws of cognition thought” Knowledge, Learning Reasoning & THINKING Planning Problem-solving © Thompson information Systems Consulting Ltd 60
  • 61. How do we test Artificial Intelligence? (Bayesian validation??) • Old-style concepts of “verification against specification” seem inadequate • Validation against “Humanity” – which one? • Validation against Rationality? – but what about the humans? • Validation against evolutionary fitness? Maybe! • NB none of my AI books seem to say anything about quality or testing! An opportunity? © Thompson information Systems Consulting Ltd 61
  • 62. Summary & Conclusions Key learning outcomes Some key points Relationships with other work Next steps © Thompson information Systems Consulting Ltd 62
  • 63. Key learning outcomes • Select your own toolbox of key concepts (not just a long list) • Organise it appropriately (Context-Driven, logical, maybe agile?) • Understand how this could be adapted to wider usage: – “fractally” up through organisations – testing other than software testing – choosing/adapting software lifecycles – almost any endeavour??! • Be ready to embrace emerging evolution, eg: – Bayesian for Risk-Inspired Testing – whatever we need to test Artificial Intelligence!? © Thompson information Systems Consulting Ltd 63
  • 64. Why and where such a framework could help • helps • a starting point understand & • beyond bus & beyond interpret tech context to • depends on “everything context human, science your route to depends” & change context- factors imperialism! Adjust if Everything Can’t/won’t Try to change context tailored to adjust if context [or X needs context context just choose changes appropriate contexts?] Start from “best No “best Optimised for X Optimised for practices” practices” this context “best” context (omitting Context-Oblivious for now) Context- Context- Context- Context- ©Thompson Aware Driven Specific Imperial information Systems Consulting Ltd 64
  • 65. Inspiration for this session was PSL & AYE: but later mapped to Jerry Weinberg’s 4-volume set Note: • FIRST-ORDER MEASUREMENT is observing happenings & understanding significance, just enough to be fit-for-purpose Compare, in my toolbox layers: • Zeroth-order: quality req’ts, tasks, reviews & progress info • Second-order: improving efficiency , eg faster / cheaper • Third-order: scientific “laws” CONGRUENT ACTION ANTICIPATING CHANGE ©Thompson information Systems Consulting Ltd 65
  • 66. Some other key points • My placing Congruence at the centre (and, by implication, considering it first) echoes 3 of the 4 Agile Manifesto emphases: – individuals and interactions – customer collaboration – responding to change • However, it also gives plenty of prominence (where appropriate) to: – processes & tools – documentation – planning • Echoes Context-Driven 3rd principle, “people working together...” • And... it echoes Satir’s claim that she could understand practically everything about a person from: – how we define relationships – how we define people – how we explain events © Thompson information – our attitudes to change Systems Consulting Ltd 66
  • 67. Some other Let’s Test sessions with relations to my themes • In addition to Christin Wiedemann’s “Science” talk... • Effect Managing IT (Torbjörn Ryber): – understand problems before trying to solve – identify stakeholders and what they want to achieve, in which situation • An Introduction to Artificial Intelligence Concepts (Chris Blain): – a variety of disciplines such as probability, logic, machine learning, scheduling, game theory – a framework you can use to generate new ideas in testing philosophy and actual test techniques • Curing our Binary Disease (Rikard Edgren): – Gerd Gigerenzer’s heuristic that our theories depend on our tools – this gives us binary disease, eg pass/fail addiction – instead we should communicate, from diverse info sources, noteworthy interpretations of what is important • Making the Case for Aesthetics (Zeger van Hese): – Glenford Myers’ “Art of Software Testing” was really about skill & mastery – can we extend Austin & Devin’s “Artful Making” to © Thompson testing? information Systems (summarised by Neil Thompson from www.lets-test.com 09 Apr 2012 Consulting Ltd 67
  • 68. Some other Let’s Test sessions with relations to my themes (continued) • The Zen of Software Testing (Dawn Haynes): – Many testing approaches are based on models or theories. Models are derived from experience while theories are derived from thought. When these two approaches meet, sometimes they clash and diminish each other – Zen is a Buddhist doctrine that strives for harmony and balance; We can use our models and theories to organize our thoughts to formulate a direction, and then use our intuitive insight to find the rest (filtered through ethics / appropriateness) • So You Think You Can Test? (Huib Schoots): – collaborating with other disciplines like developers and business analysts will help you become a better tester – we need to practice continuous learning • Do You Trust Your Mental Models? (Henrik Emilsson): – all testing is based on models; some models are written, but... – ...other models can be anything non-written about the software and the context that helps us understand the product – we also have our mental models, which often are generated from the explicit and implicit models – how can we sharpen those? © Thompson information Systems (summarised by Neil Thompson from www.lets-test.com 09 Apr 2012 Consulting Ltd 68
  • 69. Selected references & acknowledgements • NB this is not a full bibliography • www.agilemanifesto.org • www.context-driven-testing.com • The Satir Model: Family Therapy & Beyond (Virginia Satir, John Banmen, Jane Gerber & Maria Gomori, 1991) • Esther Derby, Don Gray, Johanna Rothman & Jerry Weinberg: Problem Solving Leadership course & Amplifying Your Effectiveness conference, plus numerous publications • Isabel Evans: Achieving Software Quality Through Teamwork (2004 book & associated articles) • (Neil Thompson &) Mike Smith: – Holistic Test Analysis & Design, STARWest 2007 – Value Flow ScoreCards, BCS SIGiST 2008 & Unicom Next Generation Testing Conference 2009) • Complexity: a guided tour (Melanie Mitchell, 2009) • The theory that would not die (Sharon Bertsch McGrayne, 2011 – about Bayes) • Artificial Intelligence: A Modern Approach (Stuart Russell & © Thompson Peter Norvig, 3rd edition 2010) information Systems Consulting Ltd 69
  • 70. Next steps (I suggest) • Choose your Let’s Test sessions carefully • If you haven’t already, do some reading about scientific method(s), and the (ongoing) history & philosophy of science • In your workplace, think more about what techniques & tools you use, when, where, why etc • *If* you desire more structure in your own toolbox: – would it look like mine? – if not, what? • For myself: – more work on Bayesianism and AI – in science: “Design of Experiments” – Risk-Inspired Testing is only a part of © Thompson “Value-Inspired Testing”! information Systems Consulting Ltd 70
  • 71. • Thanks for listening! • Questions & discussion... Contact: NeilT@TiSCL.com @neilttweet ©Thompson information Systems Consulting Ltd 71