I always love reading the summaries of JetBrains' Dev Ecosystem Reports.
https://www.jetbrains.com/lp/devecosystem-2020/
C# Specific Overviews
https://blog.jetbrains.com/dotnet/2020/06/16/developer-ecosystem-2020-key-trends-c/
Cheers!
Showing posts with label frameworks. Show all posts
Showing posts with label frameworks. Show all posts
Monday, June 22, 2020
Thursday, November 8, 2018
Journey into SET: Creating Test Framework in Selenium
So, I'm still on my journey back into becoming a Software Test Engineer (expert) and geesh, there's a lot to catch up on.
Today, I'm looking into creating a Test Framework with Selenium.
I googled on "selenium creating test framework" to see results and learn.
Why?
First, let's answer why I'm researching this topic. I am able to create test scripts using Selenium and my test are passing. However, as I'm creating a test suite and adding more tests, I find myself using the same code for multiple @Test. I'd like to reduce the code, use wrappers around Selenium's code, and condense my @Test to be specific on focusing on the test case. This also helps with test script maintenance. For instance, if I need all of my test scripts to navigate to their corresponding page (add form -> New Form, edit form -> Form, etc). Then, I realize I need the User to click OK to a dialog just implemented before displaying any form. I don't want to have to check this code for each test script in each @Test.
YouTube(s) I watched.
https://www.youtube.com/watch?v=DO8KVe00kcU
Article(s) I read.
https://simpleprogrammer.com/creating-automated-testing-framework-selenium/
Not very useful, unless going to author's course.
https://www.testingexcellence.com/develop-test-automation-framework-scratch/
I like the breakdown on this author's GitHub and see it's practical use. So, I decided to implement this same framework.
Pattern Insights
Since I'm using the PageObject pattern, this was very helpful to know.
https://github.com/SeleniumHQ/selenium/wiki/PageFactory
Today, I'm looking into creating a Test Framework with Selenium.
I googled on "selenium creating test framework" to see results and learn.
Why?
First, let's answer why I'm researching this topic. I am able to create test scripts using Selenium and my test are passing. However, as I'm creating a test suite and adding more tests, I find myself using the same code for multiple @Test. I'd like to reduce the code, use wrappers around Selenium's code, and condense my @Test to be specific on focusing on the test case. This also helps with test script maintenance. For instance, if I need all of my test scripts to navigate to their corresponding page (add form -> New Form, edit form -> Form, etc). Then, I realize I need the User to click OK to a dialog just implemented before displaying any form. I don't want to have to check this code for each test script in each @Test.
YouTube(s) I watched.
https://www.youtube.com/watch?v=DO8KVe00kcU
Article(s) I read.
https://simpleprogrammer.com/creating-automated-testing-framework-selenium/
Not very useful, unless going to author's course.
https://www.testingexcellence.com/develop-test-automation-framework-scratch/
I like the breakdown on this author's GitHub and see it's practical use. So, I decided to implement this same framework.
Pattern Insights
Since I'm using the PageObject pattern, this was very helpful to know.
https://github.com/SeleniumHQ/selenium/wiki/PageFactory
Wednesday, May 3, 2017
Frameworks over Languages?
I recently read this article:
http://www.kdnuggets.com/2017/05/frameworks-offer-data-scientists-programming-languages-lack.html
What a mind opener and so true (to a degree, but a high degree)! Why bother with languages that a person has to learn and do all kinds of stuff, when one can leverage a framework and - viola! - create something rapidly? Ruby-on-Rails is a great example. Perhaps it's why it's one of the most useful RAD frameworks. Of course, there are cases when a person will not want to use a framework (or find one that more-so matches the product development's purpose). For example, if you need to customize a lot instead of following conventions, then Rails is not for you. Spring might be a better match, but that involves switching languages. I haven't researched and played with all the different Ruby frameworks, but perhaps there is one that is more flexible and customizable?
Either way, know the frameworks and don't dig too deep into the languages UNLESS you must use the specific language to accomplish your goal.
Good luck,
G2
http://www.kdnuggets.com/2017/05/frameworks-offer-data-scientists-programming-languages-lack.html
What a mind opener and so true (to a degree, but a high degree)! Why bother with languages that a person has to learn and do all kinds of stuff, when one can leverage a framework and - viola! - create something rapidly? Ruby-on-Rails is a great example. Perhaps it's why it's one of the most useful RAD frameworks. Of course, there are cases when a person will not want to use a framework (or find one that more-so matches the product development's purpose). For example, if you need to customize a lot instead of following conventions, then Rails is not for you. Spring might be a better match, but that involves switching languages. I haven't researched and played with all the different Ruby frameworks, but perhaps there is one that is more flexible and customizable?
Either way, know the frameworks and don't dig too deep into the languages UNLESS you must use the specific language to accomplish your goal.
Good luck,
G2
Subscribe to:
Posts (Atom)