How Inversion of Control is achieved in TESTNG. Is Test Annotation in testng example of IOC ?
Asked
Active
Viewed 44 times
1 Answers
0
TestNG is the testing framework, IOC is a pattern. Why do you need to apply this pattern to your test? What are you trying to solve? You should understand your problem and find out a solution to resolve it.You can check it here. All design patterns are heuristics, and heuristic means a fallible to solving a problem.

Joe Phan
- 51
- 4
-
Firstly you should understand that IOC is not a pattern. It is a principle. Secondly , all frameworks will implicitly implement the IOC principle. I wanted to know in TestNG framework where that happens. Hope you get a clarity. – Jeevakumar Moorthy Apr 08 '21 at 08:30