Why Python?

python

Python provides huge value for testing, according to the Automation Panda blogger, Andrew Knight. He writes:

“Python is object-oriented and functional. It lets programmers decide if functions or classes are better for the needs at hand. This is a major boon for test automation because (a) stateless functions avoid side effects and (b) simple syntax for those functions makes them readable. pytest itself uses functions for test cases instead of shoehorning them into classes (à la JUnit).”

Why Python?

Python provides huge value for testing, according to the Automation Panda blogger, Andrew Knight. He writes:

“Python is object-oriented and functional. It lets programmers decide if functions or classes are better for the needs at hand. This is a major boon for test automation because (a) stateless functions avoid side effects and (b) simple syntax for those functions makes them readable. pytest itself uses functions for test cases instead of shoehorning them into classes (à la JUnit).” […]