[trustable-software] We've got this all wrong !

trustable at panic.fluff.org trustable at panic.fluff.org
Mon Apr 16 11:10:03 BST 2018


On Mon, 16 Apr 2018, Paul Sherwood wrote:
> On 2018-04-16 04:38, trustable at panic.fluff.org wrote:
>> Having returned from yet another project where the developers yet
>> again drive behaviour where the cost of doing requirements are too
>> much overhead and the decry how it prevents their ability to 'delivery
>> on schedule'
>
> So a typical agile-style project, then? Was there no spec at all?

    In my view from that particularly project there was some statement
of 'Intent' ... perhaps even the begining of a 5 paragraph briefing but
VERY clearly NO requirements beyond these and no formal objective.
>
>> It's lead to re-reading about the 5 paragraph briefing
>> style
>>       https://en.wikipedia.org/wiki/Five_paragraph_order
>> It is particularly interesting to look at the way 'Intent' is addressed 
>> here.
>>       https://en.wikipedia.org/wiki/Intent_(military)
>
> While I agree it's interesting, this is (yet) another way to cause 
> decomposition/definition of requirements. AFAICT from what you've said above, 
> the problem you're highlighting is that $project or $team ploughs ahead 
> without establishing requirements at all.

     As mentioned above there is the statement of Intent but requirements
were lacking. Testing was put in place to prevent regression, very much in 
the way that BDD/TDD suggests but as we have argued before these may not
be requirements.. They may be implementation confirmation..
>
> I think there are two potential implications of that:
>
> 1) we change "t.software MUST have t.requirements" to "t.software MAY have 
> t.requirements"
>
      I'm try and make a strong case that t.requirements are not a 
necessary item. And what is more in fact they slow down the delivery of 
software. I'm going to suggest that in fact requirements are invented to 
meet the necessary compliance and cost justifications associated with a 
project. All we get is the statement of 'Intent' and from that we assume
that a coalition of the willing in fact almost perform a random walk in 
which by accident they deliver software.

>
> 2) we allow that t.requirements can be defined after construction (which is 
> already the case)

        I think here we need to be careful about what requirements are. A 
requirement frequently is outlined as an objective, the point at which we 
can achieve some behaviour expected.

        I'm going to suggest that that objective remains unknown and in 
fact undetermined until implementation. This implementation is left in the 
hands of the developer. The tests around this developed behaviour are 
there to confirm the developed behaviour and prevent regression of that 
developed behaviour.


I'm going to suggest that in fact tests are not requirements as they 
confirm a necessary condition. However, unlike these requirements being 
states to allow development to occur tests only purpose is to prevent 
regression. The statement of this prevention is in effect a requirement 
after the fact. So I don't believe t.requirement needs to exist.. only 
t.test


>
>> None of this states that we need to have the entire source code of a 
>> project
>
> True. But if we don't have source code, and we don't have requirements, 
> what exactly are we hoping to have trust in?
>
   So you are expressing that the behaviour of the system according the the 
reported behaviour of the tests and the list of artifacts creating that 
behaviour is trustworthy. In fact you don't care about source code at all.
So long as you have a repository of artifacts it becomes one of archival 
and no more.

   The only requirement for source code is to allow resolution of abberant 
behaviour. In fact I'm unsure it is needed then. For example very often
in Open Source projects what happens is an entirely new agregration of
source occurs because the 'Intent' needs scratching in a new manner. There 
are many solutions now available for the same problem all without 
requirements and many without much testing.

So.. I'm going to suggest that trustable doesn't require source code, it 
only requires validatable reproducible results from tracable artifacts.
It may have source code, but MUST have reproducible tests.

Edmund


-- 
========================================================================
Edmund J. Sutcliffe                     Thoughtful Solutions; Creatively
<edmunds at panic.fluff.org>               Implemented and Communicated
<http://panic.fluff.org>                +44 (0) 7976 938841




More information about the trustable-software mailing list