Peter: Good morning, good afternoon, good evening, everyone, wherever you are in this fine world. Welcome to episode three of Quality Over Coffee. Today's episode will be brought to you by the letters A and I, and I'm here with my good friend, Jeff, to guide you through all things A and I. How have you been, Jeff?
Geoff: That all good. Thank you, Peter. Yeah, no, thank you. Fascinated by AI actually. You say, how have I been? I've actually spent a bit of time looking at it. So I thought this is it was worthwhile investigating. But yeah, and the good news in the UK is the sun's out today. It's only eight degrees still, but it's the sun has come out. So I'm smiling. My office is warm. It's at the front of house. That's great. Yeah, no. Good.
Peter: Wow. Wow, very good. And for those of you who are listening, it's a Barmy 18 here and it's nine o'clock at night. So ⁓ let's start straight into it. AI Jeff, what's that all about then?
Geoff: Ugh. Anyway. Well, think that a large subject. So actually to try and give a single sentence answer is quite hard. ⁓ if I summarize my view on this. So I first came across this when it was kind of called machine learning, where ⁓ was working for a company called Qualitest and they bought what they called a machine learning company. And that did, we called it AI within the company. We called it AI to our customers. But what it did was use data.
Peter: Yeah.
Geoff: from a client, so not like a big LLM or anything like that, just took data from a client. And it can analyze that data in seconds flat, given certain that ⁓ pump through the data. So for example, ⁓ could take a whole database from a test management tool of all the tests, it could take a database of all the defects, and it could tell us what the common defects were in that organization in seconds, which you couldn't do, no human could do. So deem that as machine learning because the machine is learning and it was called machine learning at the time as I remember. ⁓ today AI seems to fall into two categories. It's it's it's kind of generic. Tell exactly what to do and I'll do it. So that's why we call traditional AI. So in that example you would for example ⁓ what is value analysis and it will come back with an answer for you straight away. a simple one dimensional question. But now we're seeing the growth and the significant growth from what I can see, something called agentic AI, which is where effectively you have all these little agents as they're deemed. In my head, I've got all these little people running around inside the computer. Exactly. Instead of giving it a specific request, you give it a generic goal effectively.
Peter: Yep, bowl of hats, everything.
Geoff: How do I book a holiday for example might be a goal you'll give it and you would expect it to come back with well you need to plan the date, you need to book a flight, you need to and it will go off and find all this information and bring it back to you say here you are but the same time that answer could change every time it goes off to find the information but the fundamental answer will be the same. So these things that what you find now, some of the call centers are starting to use. So that actually as a customer, if you ask a question, it can give you an answer. the traditional AI is still probably more predominant where it goes so far, it goes as far as it can cope and then says, right, I need to hand to a human now. So yeah, that's that ⁓ to today, the challenge we have is how do we test a traditional AI implementation and how do we test? and then a genetic AI implementation. But on the reverse of that, more and more people are talking about using AI to help them do their software testing.
Peter: Yeah, quite remarkable, right, because it's the two sides. It's two sides of how do you test it, and then it's the side of how do you use it for testing. ⁓ look, put my hand on my heart and say this might be just my beliefs, but there's so much hyperbole around AI, it's coming, it's going to rid of jobs, it's going to do this, it's going to do that. And it has targeted world of software testing and QA. because it can do all this stuff, whether it's agentic or whether it's other form of AI that just produces the volume of test cases ⁓ automates them for you. I happen to think that actually in the world we're moving to, the QA role is more valuable than it has ever been. Because you've got to be able to validate. what the AI is doing. So there is still that human intelligence that needs to be mixed with the artificial intelligence to come to an answer. you're kind of right, once the agentic AI gets it right, all you're doing is validating it continues to give you the same answer. But on flip side of it, that means you move on to the next problem. So I you know, from where it was five years ago, where it was going to take all the jobs in QA, I think actually our role is more important. and the development side of the world is probably more at threat of jobs being moved because you can say act as a developer and write me an app that does x, y and z and it will do its best to do that.
Geoff: I absolutely agree. think the real challenge that the world has is it's a bit like, I think we've discussed this in episode two, when automation came, suddenly those that are detached from the day to day but run the budget see it as an opportunity to reduce headcount, reduce everything. When actually, if anything, we've got more testers doing stuff now. And I think that that's the thing with automation. A couple of examples outside of testing.
Peter: Absolutely.
Geoff: in the UK and it's probably the same all around the world. And there has been a general concern about the fact that it removes a level of that people do. So, for example, in the legal industry, when you've come out, ⁓ I'm only speaking for the UK because I can't say how other people ⁓ this, ⁓ go through years of college and university to get to the point where they can join a Solistas firm and
Peter: Absolutely.
Geoff: And what they become then is more like a, it's a data lackey. So what their job is for every case that the true lawyer runs, they go off and investigate and find all the case law, which gives them a background or gave them a background to their, their trade. helped them talk to, to talk to them the practicalities of different things. the challenge that's happened since AI has come along in the legal industry is that phase of their education is now done by AI. It's all stored on the computer. They push a button. They say this is the case. This is what it's all about. And bang, it comes back with all the case law. So there was a big challenge there. How do you now take those people that come out of university and jump them straight into front lines solicit work when they've not had that opportunity to get that back from them? And then again, again, this is another interesting one. I went to a ⁓ big insurance conference in the UK about three years ago, three, four years ago. probably 5,000 people there. So it's biggest, one of the largest conferences on insurance we've ever seen. ⁓ the whole place was full of this, riddled with panic about AI because they thought AI was gonna make all the risk decisions for us. So basically take the fundamental core element of insurance and and take it away from them. ⁓ actually ⁓ then happened a year later was there's always excited people talking about how grateful and beneficial AI is.
Peter: Yeah.
Geoff: because what it's done is they've used it to help the customer process, improve the customer process. So it'll take a customer so far through a claim. So the human only has to do the last little bit. It'll, you know, all those kinds of things. there's now, and there's now a law that stops them using, stops certainly in Europe, using AI for any real risk decision-making. You can't do that. You're not physically allowed to do that. And in testing, I see it heading the same way in that. Everybody says we don't need testers, but you're absolutely right. If you're going to get an AI machine to generate your tests for you, unless you know what, unless you understand testing, how do you know that what is generated are the right tests? you're just heading blind. Otherwise you're just sitting blindly into, yeah. As Graham would say, you know, crap or search, she wouldn't say crap, she would say bad testing. ⁓
Peter: Yeah.
Geoff: done with the tool is just fast and bad testing. It's not testing at all, you know.
Peter: Yeah absolutely and I think like and again it's no secret you and I are of an age when automation just being introduced in fact testing was just being introduced as a skill set but I think you know for advice for people out there where they're running into these ⁓ you it will take your job it will do this it will do that for me advice is lean in lean into it learn it learn how to use it. So if you can devise those killer prompts that give you a better bang for buck and help reduce cost, everything you do will be faster and better and will save money. So if you lean into it, I think you're more likely to see the opportunities that are there within testing, even outside of testing as well, than just kind of standing off from it and saying, oh, you know, it can't do what I do. it can't today, but it could tomorrow. That's the way I look at it.
Geoff: Yeah, yeah, I agree. Interestingly, I think the real challenge for us is that prompt engineering thing. But, but actually, if we step back, what is it that AI is going to use as its base to generate tests, it's going to some form of requirements. So if those requirements aren't well written, it doesn't matter how well you ask the question, you're still not going to get the answer you really need.
Peter: ⁓ yeah. Exactly.
Geoff: To be fair, neither will the developer. And that's where we have this challenge today where developers develop things that don't match because they're required.
Peter: Exactly, but before you go on Jeff, we are trademarking the job title prompt engineer not heard that anymore. So we're gonna trademark that anyone out there is listening You know, that's TM to the quality over coffee ⁓ ⁓ Yeah, the Thompson twins Whatever you want to call us. We have invented prompt engineers. What a great ⁓ title ⁓
Geoff: Well, it's an interesting one because certainly in the world I operate in now, I'm not doing direct delivery work anymore, obviously as a retired man, but I'm involved in testing things and a lot of the conversation. So I'm within the UK ⁓ Ireland testing board that I chair, which the ⁓ UK of ISTQB. We've developed some tooling. to verify that verifies the quality of the prompt engineering and the AI. I won't go into details, but it's brilliant. And what it does is it helps you learn how to do prompt engineering. And we've built training courses to go with it, all those kinds of things. Because actually, you can't just say to anything. You can't even say to a Gentic AI, write my tests, because that's too big a goal.
Peter: Yeah, exactly.
Geoff: the different levels of testing you might want to do, those kind of things. Traditional you definitely need probably half a page of instruction before it can go off and do it. And then it depends on your requirements. The challenge is what AI are you using? Now, if you're using something that's like chat GPT or any of those things, ⁓ you can personal ⁓ subsets.
Peter: Yes.
Geoff: But ultimately you're putting your data into the public domain. that's a challenge that everybody has to think about. So lot of companies, mean, certainly in the UK, I'm aware I was working when I was working, I was working with one of the high street banks who was really busy building its own version of an LLM. So it had only the data it wanted in it. That itself a danger in that. Have they put enough in? Is there enough there? Proving that is difficult until you've done something with it. But actually, it's tools like the one I'm referring to. ⁓ anybody's interested, a bit of advertising, look for testing for all testing number four, all, double L on the internet and you'll see what we what we're doing. But I think that's the point really is that the prompt engineering is going to become the skill. There is still the challenge that the things that we've always said are the the low intellect
Peter: Yes.
Geoff: pushing buttons, yeah, will actually potentially end up being done by AI. But what we're going to get is a lot more, because we'll have the capacity then to do more testing, think about testing more and a very significantly larger intellectual process. So if you know testing, but the other thing we're noticing with this tool, interestingly, because we run some boot camp, we've run some training and boot camps with it, is that actually more than 50 % of the attendees aren't testers at all. These are developers who now understand that the problem with AI, you need to test from the very moment you start. You need to set out. I think the phrase I've read is you need to build with AI as your quality is one of your central pillars rather than something you do at the end. So actually developers are now trying to understand what that means so they can build for the first time ever.
Peter: That's interesting.
Geoff: testable software. Yeah. So for example, ⁓ mean, this is flipping more to the doing testing AI. But when you're doing agentic AI, you kind of have to accept that whatever it brings back is good, unless you trace where it's got that information from to see if it's gone to the right places. ⁓ actually, what becomes more important when you're testing it is the performance of it. And that's the same with when you're doing your testing. There's no point in building sophisticated scripts if actually they just make the job harder. yeah, there is a challenge. There are lots of people out there at conferences who seem to say, suggest they're probably providing the silver bullet, but I don't see anybody telling me something that's the same. There's no common thread across all of that.
Peter: No, and you're right. if I had a dollar for every person who hits me up on LinkedIn and talk about their AI solution and how it's going to be good for me and the company I'm currently working at, probably ⁓ about 200 bucks in my left hand pocket at the minute. But it is and it's kind of the bread moment again. I mean, we've had the sliced bread moment with automation testing, now we've got the sliced bread moment with AI. Actually, I this one is more about
Geoff: Yeah.
Peter: software delivery rather than just testing and that's why I still think the QA role still has its importance it's just different it's actually looking for deep subject matter expertise in an application and how you should validate rather than you know the ability to write C plus code in WinRunner or something else yes I said WinRunner I am showing my age yeah
Geoff: That really is strange. I remember rightly that was the first tool I ever bought many many years ago when I worked in general. And they threw in free copies of Test Director which then became the tool of choice for us because it was free. The fact that was humongous and difficult to manage was a different thing. But anyway I digress. digress. No I agree. I think it is
Peter: Wow. ⁓ my gosh. Yes.
Geoff: We're going to go through a period of time. And again, I was watching a blog the other day, some American people talking. It was a generic AI type blog. And they were talking about a very large retail organization in America that chose to all of its call center staff, having built an AI tool, AI thing ⁓ could actually answer all the telephone queries. ⁓ within a week, they were having to draft all these people back in again, because it... ⁓ people getting frustrated they're only getting so far and they were getting the email telling him that's as much as I can do I've not got to wait for a human to turn up and there were no humans to turn up ⁓
Peter: Yeah, exactly. And I think that's again, mainstream media, whatever you want to call it. There's a lot of companies, won't name names for obvious reasons, who are using AI as the excuse to reduce their and cut their costs and not really thinking about what actually can it do for me and how do I use it ⁓ and what I get out of it? Because, you know, the AI, if you look at the
Geoff: you Exactly.
Peter: agentic AI solution for Salesforce. a different level and I am plugging Salesforce so not that I've ever used it so ⁓ skin in that game but it looks and ⁓ really and yes feels like you're contacting with a human even though you know you're not and that makes a big difference. ⁓ I did get a phone call from a
Geoff: Yeah, it does.
Peter: company the other day and actually it said this is an AI agent calling you about this will you fill out the survey so know whether it's legal you have to declare it upfront ⁓ don't know
Geoff: It can work. Yeah, but it can work if it's a yes, no answer scenario or the answers are very straightforward. Obviously, if it's not, interesting. the One the things that we've identified with this tool we've got is that. Even with AI, you struggle. It was used ⁓ a bug hunt where there were like 3,000 people competing ⁓ this platform to actually build tests ⁓ then run the tests and then this machine told us how well they've done. Some people used agenti-ki to build their tests, some people did it manually. Interestingly all the people who used agenti-ki didn't do it, couldn't do it, most of stopped halfway through ⁓ the process of developing the test takes longer.
Peter: ⁓ wow.
Geoff: because you're rechecking and checking because the computer's doing it. Whereas actually if you write the test down on a piece of paper, people tend to find they can go straight into testing. answer therefore, we couldn't test really because it was a very fast paced thing whether AI made that much difference to writing the tests. ⁓ actually when we look at the tool itself, when it ⁓ the checks, and is think going to be the important thing when you talk about development and test. So at some point development and test will be done by AI, I am absolutely certain of that. You'll still need people to verify that followed the right rules, et cetera, but not do the development or not do the testing. And go back to my original point, that is entirely dependent on the quality of what is written down ⁓ as provided as the requirements. So ⁓ if going to expect AI to develop your tests, develop your code, it's only going to do that if the requirements are well.real. ⁓ I think it's interesting that we're probably going back to the years when you and I started, guess. don't Honestly, I don't want to go into this, I older or younger than you bit? But when I started, we literally had one computer in the room and it was a green screen. And in those days, to make sure we made the right benefit out of that, we all had this dedicated period of time and a process we had to follow. Otherwise, everything would just get, people wouldn't get their chance to get on the machine.
Peter: Yeah, I guess so, yeah. Well you're older so it's alright.
Geoff: And the process was really quite important back then as to how we used it over time. We seem to have lost a view of what the real process is. In fact, I was watching a Google listen to a Google the other day about software testing in AI. And they said, this is going to blow your mind. This all we're going to talk about now is just brand new. And it's like, everything you just told me is, what I used to do. ⁓ And kind of like we've lost that thread that says what is software testing.
Peter: No it's not.
Geoff: And everybody has a different view these days, which is weird given how much there is written about software testing everywhere. I think AI is going to bring a lot of this back, particularly in requirements engineering. When I was a BA, I had to write requirements and write the first set of user acceptance tests for it. So the user acceptance tests were how they validated that my requirements when they were checking them, they compare the two. And they'd say, hang on a sec, you said in here, prove this, but there's nothing in the requirements to say that exists in the first place. Oh, I forgot. And I think, you know, that the requirements are going to be the gist of this. Testers will prevail as ever, but I think, you know, unless AI is given the right inputs and that's not just prompt engineering, but it is a skill and I'm quite stand by your thing. But in fact, I saw somebody write a paper the day where actually they say it was about
Peter: ⁓ absolutely.
Geoff: page long. documented the requirement, it documented the types of testing, it wanted some boundary value analysis, it wanted some whatever else done. Otherwise it wouldn't have done anything and it came back with some great tests. It came out with some rubbish tests as well so all the rubbish tests had to be cleared out. ⁓
Peter: Yeah, well, you're in danger if you prompt it wrong, and it just goes and reads the book. always maintained the possible thing that can happen in any company is a CIO getting hold of a testing book and then racking up and saying, this boundary value are you doing some of that? What about this partitioning? Have we got some of that going on? You know, without really knowing what it is. And you can be danger if you prompt wrongly. that you'll get back genericism and where you don't want that, where you want specifism, if that's a word. I think specifism is a word. and again, we are trademarking prompt engineers. So the art of and testing in ⁓ it to test is really about how you engineer the right prompts ⁓ to the best value for money? Because that's what any company is looking for, right? Which is how do I drive value?
Geoff: Exactly. That's it. Yeah, it's it's it's it's it's it's it's it's it's It is.
Peter: money from this it's never going to stop ⁓ on a on a Tuesday in March when there's five Tuesdays in a month this happens because it's never going to know that ⁓ that's why you've still got employees to tell you that and and you take the risk decision and I really liked your analysis when you talked about ⁓ not able to make risk decisions when it comes to insurance because I think ultimately that testing is risk right you're buying down
Geoff: Mm-hmm. You won't know that.
Peter: how much risk you're willing to take. And the same thing happens with AI using AI for testing. It's still, how much do we need to do? Is it enough? And what's our outstanding risk? And that really can't tell you that. And that really comes down to the human side of stuff. So maybe it is the end of QA analysis, and maybe we're just gonna become risk and prompt engineers doing the same thing under a different guise.
Geoff: different name yeah well isn't that what if you look at hundreds of years through the Industrial Revolution you know all that happened was when things changed people then moved on to do different things when I when I have my company we used to go out selling with our sales director and I used the story that I made up to be frank but that that exactly
Peter: You heard it at first folks.
Geoff: When Henry Ford first built the Model T Ford, was built and then it was tested and it used to drive around and around in circles forever to just to make sure it worked. Today, the car comes off the production line, there's no testing. It goes straight in the lot ready to get sent away because as it comes through the ⁓ build it's actually tested. And interestingly, a lot of that testing is done by humans. So if you watch a mechanical car building line, there are people in white coats all the way along it checking that what it's doing, it's not missed something, it's not done something wrong. So, you know, an interesting point. Another story for you. This make you laugh. When I worked for this beautiful, lovely English country company called Qualitest, I was the oldest member of staff in the UK.
Peter: Yes.
Geoff: And I was called to grant everybody joked and call me granddaddy of test, know, which was very nice of them. But they decided one day to do an AI thing for clients. And they asked me if I minded doing a chat GPT against Jeff Thompson session. And I said, I'll do that. That's fine. That sounds interesting. So like any, any time I do a presentation, I do a bit of prep. So
Peter: ⁓ nice.
Geoff: About three or four days before I got chap JGPT up and running for the first time. That's never easy for me. I told you technology. And I asked it the question, what is boundary value analysis? And it came back with the right answer, which is very good. I then said, no, you're wrong. This is bad for analysis. I gave it the equivalence partitioning definition. no, you're wrong. This went for about 10 minutes and eventually said, OK, I accept. That is the new definition of boundary analysis. And off it went. it came to the actual day, live, so to speak, I asked it the question again, and it came back with equivalence partitioning definition. So I'd managed to overwrite its data effectively by continually pushing it to chain. Now that I'm guessing over time, that's not going to be possible, ⁓ that's part of the problem of using AI to do things. is that it is somewhat unpredictable, even if it should be predictable. It can currently at the moment, unless you lock it down to not be able to do that, depending on the scenario, it will change its ideas of what's going on. And reality is that if it had three or four more interactions with somebody anywhere in the world, in between you initially asking it the question and then asking it again, It might come up with a slightly different answer because it will learn something from that interaction with somebody in any other part of the world. So you have to really, which is why your testing knowledge is so key in that otherwise you're going to, you know, you will test something, it will go live and it'll fail and you'll wonder why. you'll say, well, yeah. got asked by a big insurance company in London once to look at why having done a 12 month delivery of a massive change.
Peter: Absolutely.
Geoff: The first overnight batch run collapsed and it took him nearly a week to repair it all. And they said, cause the guy who was running the tests or the team had told them that they'd achieved 95 % coverage. So he said, you've done 95 % coverage, why didn't they find it? Well, actually on the investigation, 95 % coverage to the testing meant they'd run 95 % of their tests.
Peter: You'll be fine. Don't worry about that, 5 %! Yeah, just hadn't run a batch, right?
Geoff: But actually their test only covered 25 % of the applications. So, and I think that's the other thing you need when you're doing this. Like you say, the risk-based decision making, all those kinds of things. that's going to be also coverage will be a key measure for risk. Yeah. And if you don't understand coverage properly and you can't implement coverage properly and doesn't have be sophisticated, you know, how many, how many requirements have you hit? How many junction points in the, in the software have you crossed all those kinds of things?
Peter: Absolutely.
Geoff: you're never going to be confident that testing is doing the job properly. I say AI is doing the testing properly, but anyway.
Peter: Absolutely and on that lovely fact that if you ask ChatGPT what BVA is you're going to get partitioning coming back as an answer for the next few months. My coffee's done for the We will continue talking about AI in our next episode but thanks for your time and ears this morning. Jeff as ever a pleasure ⁓ and ⁓ see in a couple of weeks.
Geoff: ⁓ I corrected it after, don't worry. Thank you and to you sir. Look forward to it. Look forward to it. Speak to you then