java - JUnit Testing for Automated Testing Scripts? -


I've recently joined this organization that I am currently working, to manage one factor, Factor has been asked to increase and maintain an existing automated test framework written in Java, which uses a keyword based framework and RFT I am a developer at the heart of all my life, although I moved into agile management I am By habit I write unit tests for testing behavior before writing source code. There is no unit testing in this framework. My first instinct is "Where are unit tests?" I know that I can write unit test for test structure sections. It was brought here during the discussion that writing unit tests for test frames or scripts could be a waste of time. I disagree with diplomatically.

Question 1: Can my instincts be wrong? Do you have any suggestions that can be helpful in fighting my case.

Question 2: And can it be recursive? Testing for tests and tests and so on. What is the rule to stop writing unit tests? Is there any concept to tester recurrence?

Then I'm all for unit testing, but never before such a situation. I could not find much on this subject from my research.

Edit

Thanks for your interesting responses! The unit test will definitely be written without doubt! High Priority Our own written outline sections and methods are used most often and for high failure and higher penalties, this plan will be gradual and achieves high level code coverage for the entire project (Java)

Question 1: Can my instinct be wrong? Do you have any suggestions that can be helpful in fighting my case.

Your instincts are not wrong If you have a bug in your test structure, then you can leave the trial and remember the errors, for example.

Question 2: And can it be recursive? Testing for tests and tests and so on. What is the rule to stop writing unit tests? Is there any concept of testing the tester recycling?

Not because testing cases are considered so simple that bugs can not escape the investigation. Every test should be trivial or the class needs to be tested, restructuring should be done. Obviously this is sometimes easier to do.

I will examine the test framework and wherever the failure actually will be hurt.


Comments