Posts

Showing posts with the label Test Automation

Exploring Hypothesis with pytest - Part 1

Image
I found Hypothesis library very intriguing so have started exploring it.  Here are my notes from the first hypothesis exploratory session What is Hypothesis? From their webpage - Hypothesis is a Python library for creating unit tests which are simpler to write and more powerful when run, finding edge cases in your code you wouldn’t have thought to look for. It is stable, powerful and easy to add to any existing test suite. You can read more about it and its claims here -> https://hypothesis.readthedocs.io/en/latest/index.html I am definitely not a fan of tall claims like - "finding edge cases in your code you wouldn’t have thought to look for"! Anyways I will come to that later on. For now I wanted to explore its ability to add to any existing test suite. So I picked pytest What is pytest? Again from their webpage - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. More her...

Make developers responsible for checking

This chapter  Make developers responsible for checking  from  Fifty Quick Ideas to Improve Your Tests book  is exactly how I feel about checking.  Awesome book and a brilliant chapter. Many thanks to the authors Gojko Adzic, David Evans and Tom Roden

Why “For those who think Test Automation is easy, saves time, converts manual tests, etc,”? page element

Me: Why did you add the new page element “For those who think Test Automation is easy, saves time, converts manual tests, etc,”? in your blog? Me: I have been asked questions like # I am planning to change my job, which tool shall I learn? # Will only manual testing experience fetch me a job? # Shall I learn some scripting language? Will it improve my chances of getting a job? # What will I say if the interviewer asks “Haven’t you done any automation”? # Why don’t you automate the program? I have previously seen a test group do that, they run the tests and next day morning they have the results? # How hard is it to automate? All you have to record it right? # Let’s build a test framework; it will surely reduce testing time? # You should not be stuck with manual testing, you should start automating? And many more, so I felt the papers by legendary test gurus could help us understand “Test Automation” better. Second reason why I added the new page element would be When I was an...