-
The service has a front end webpage for human interaction
-
The service has an entry point to feed in data for non human interaction.
Assuming that jw-business-api is handling cases when the quotation amount is huge we should be getting a valid error in some way. If the UI is the entry point for the service then we show the error on the UI if the entry point is through API then we through a valid response code.
That would mean if at any point these tests start failing, then our system has stopped handling huge amounts.
The test validates that if the user enters 100000 or any thing bigger then he should get a valid error message.
Approach :-
The tests are divided into sections i.e. affected fuctionality which would mean that a devloper knows which test is for which functionality. In case a tester touches the code of lets say payment section he/ she can run all the test cases to verify that he/she is not creating a case for just watch to go insolvent.
-
Every evening when people go and enjoy fierabend beer, the CI pack runs a complete pack pf tests on a branch which had merges done today andpublishes results to testers and which can then be shared with devs if something was broken.
-
Is there too much pressure of time that they want things done faster?
-
Is there an atmosphere where people want to prove themselves by doing things faster at the work place?
-
Are people being judged by the amount of work they produce ?
-
Does the management measure everything in numbers?
-
Is user experience something the management wants to address for their products?
- If the management does not see the value of testing , it should be introduced to them. As the famous saying goes" if you are not breaking things then you are not going fast enough". there is a sweet spot between the amount of testing and the compromise being made in speed. If customer retention and User experience is good people use the application for long, in turn generating more revenue and recommending you to others.
This would lead to them choosing which way they want to go, and introduce a step for quality assurance.
- If the management know how testing works and appreciates it then, the devlopers should not be told to test because that is not their job. You will not break your own baby. If a human is just told to do more work he will resist . rather introduce testers in the system to introduce quality and introduce a well maintained pipeline for bugs reported.
Note: I do not have experience with go lonag and with creating microservices so i have chosen typescript .