Originally posted by DallasDad
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Testing Question - What do you call this?"
Collapse
-
Generally:
Stub describes a test double that returns canned responses.
Mocks describe those which can be dynamically configured to produce desired responses & give the ability to verify interactions.
Fakes pretend to be real functioning systems/components.
People often refer to spies in reference to things which act like stubs, but save the invocations for later inspection.
Leave a comment:
-
Originally posted by Cirrus View PostTo me a stub is where you insert some kind of class or mock that pretends to call a service (like a card acquirer) but actually just returns some data that the program can continue with.
If that makes me a crap code monkey then so be it.
Leave a comment:
-
Originally posted by DallasDad View PostWell it may not be PC for this thread but I personally like to call such sandpits errm sandpits
Or you could go for POC (Proof of Concept).
"Stub" has more of a roguish, Hipster, charm about it
Leave a comment:
-
Originally posted by Cirrus View PostYou are a developing a system which needs to interface to another system. You don't however want to use a test version of the second system, so you build a dummy that has limited functionality sufficient to permit you to do primary system testing.
Now the question is what do you call the dummy system?
Or you could go for POC (Proof of Concept).
Leave a comment:
-
Originally posted by SimonMac View PostNot really, you mainly use stubs on dev and sometimes system test, not all interfaces you work with have test environments themselves.
The stub just simulates a happy path call so you can check that was should be returned by the live system is accepted into your new system.
If you have never come across a stub before you are either not a tester, or a crap code monkey
I have seen plenty of integration projects go completely wrong, in the past, especially large ERP systems. In fact I saw one international news agency almost go bust, in the early 2000's, was costing them £1m, per day.
I have, also, seen systems where core functionality, like order processing or invoicing does not work (!), as the interfaces were not fully integration tested.
Obviously, this type of approach, stub, or whatever you want to call it, was used inappropriately, at the integration stage, you will always face a series of risks using it.
Quantifying those business critical risks, presenting them to the business, getting extra budget, pushing back, is part and parcel of what an experienced contractor does.
To be clear, I'm not talking about end to end testing of everything, either, that would be ludicrous.
In addition, correcting mistakes, in core functionality, after the event, costs a lot more than identifying it and fixing it earlier!
Clever thinking saves businesses money, it doesn't cost them it.
HTHLast edited by MrMarkyMark; 7 April 2016, 14:47.
Leave a comment:
-
Originally posted by SimonMac View PostIf the acceptance criteria of your SIT is full end to end testing that god help your project budgets!
You're now making stuff up to cover up for your overly-aggressive salvo at me an then misreading or misunderstanding what I'd said about acceptance criteria. The acceptance criteria for something leaving SIT and moving to UAT is very different to the acceptance criteria for full end to end testing.
Leave a comment:
-
Originally posted by LondonManc View PostI talked about acceptance criteria, not acceptance testing. Who interviewed you, Bee?
To pass SIT, it needs to meet certain acceptance criteria.
I'd try and dumb it down further but my nephew's crayons aren't available at the moment.
Leave a comment:
-
Originally posted by stek View PostWhat time does the second half start?
Leave a comment:
-
Originally posted by SimonMac View PostYou state the OP is looking at integration test but you start prattling on about acceptance testing. Dumbass much?
To pass SIT, it needs to meet certain acceptance criteria.
I'd try and dumb it down further but my nephew's crayons aren't available at the moment.
Leave a comment:
-
And so on ad infinitum
I agree it's always a bit dangerous when you start talking about simulating things. I remember reading a book on Test Automation which of course started talking about once you build test systems to drive real systems to test them, you are now into the territory of testing the test system and potentially writing automated regression tests of the automated tester.
Then you might want to test the automated test system that tests the automated test system...
To me a stub is where you insert some kind of class or mock that pretends to call a service (like a card acquirer) but actually just returns some data that the program can continue with. There's not a world of difference, I can see, in instead calling a running simulator service and getting back the same test data from that, but it just seems more comforting. And maybe more re-usable (less sensitive to particular platforms, environments etc.)
Leave a comment:
-
Originally posted by LondonManc View PostWay to judge someone.
The OP is looking at a system integration test.
The first thing I'd look at is acceptance criteria, which would then drive what functionality of the ancilliary system is needed in the cut down version. It's a barebones effort to cover that functionality that is required. How easy it is to create such a thing is a guess to anyone not involved in the project, yet you're prattling on about PCI card acceptances. Sockie much?
Leave a comment:
-
Originally posted by SimonMac View PostWhen I was on a PCI project you can't put though real credit cards to test payment, most merchant services won't let you connect a dev/integration test environment to their systems to use their test end point, what do you do?
As its not UAT you don't need the rigour of testing against the live endpoint so you stub it, if you think this is "rolling a turd in glitter and hoping it shines" I really hope you are just a support bod and not let anywhere near a development project
The OP is looking at a system integration test.
The first thing I'd look at is acceptance criteria, which would then drive what functionality of the ancilliary system is needed in the cut down version. It's a barebones effort to cover that functionality that is required. How easy it is to create such a thing is a guess to anyone not involved in the project, yet you're prattling on about PCI card acceptances. Sockie much?
Leave a comment:
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- ‘Why Should We Hire You?’ How to answer as an IT contractor Yesterday 09:30
- Even IT contractors connect with 'New Year, New Job.' But… Jan 6 09:28
- Which IT contractor skills will be top five in 2025? Jan 2 09:08
- Secondary NI threshold sinking to £5,000: a limited company director’s explainer Dec 24 09:51
- Reeves sets Spring Statement 2025 for March 26th Dec 23 09:18
- Spot the hidden contractor Dec 20 10:43
- Accounting for Contractors Dec 19 15:30
- Chartered Accountants with MarchMutual Dec 19 15:05
- Chartered Accountants with March Mutual Dec 19 15:05
- Chartered Accountants Dec 19 15:05
Leave a comment: