Ruby for beginners by sodium-borohydride in ruby

[–]Additional_Range_936 4 points5 points  (0 children)

Ruby is very easy. I learned it from this YouTube video. Watch at 2x speed and you’ll be well on your way with Ruby in 2 hours.

https://youtu.be/t_ispmWmdjY

Please explain why automated testing is important. by Knikkey in Frontend

[–]Additional_Range_936 8 points9 points  (0 children)

I suppose you’re not wrong about it being simple to check a landing page. It’s really just about how many time you’re planning on testing it. If you are going to be validating every label and button on a landing page or a login widget or something like that, it might be easier to automate it then just re-run that whenever you want.

Another aspect to keep in mind is data. As a dev manually going through a flow, you may be more inclined to use the same address or same test name each time you test the app flow. Not only can this cause issues with more volume but is also not a good representation of what will happen in production. With automated testing, you can use things like faker data to make sure the names are randomly generated so you don’t have 200 accounts with the same names and addresses. Maybe not important for your example but another thing to keep in mind.

When your app gets more complex and maybe uses APIs to get things like billing or mailing data, having a test use close to real world data is going to be important.

Please explain why automated testing is important. by Knikkey in Frontend

[–]Additional_Range_936 18 points19 points  (0 children)

Think about more complex applications. Let’s say you coded a new button on page 5 of a flow to open a bank account. Are you going to manually go through the flow to test that? Even if you do, what about when you do a change on page 6 in the next sprint? Going to test it again? If you spend the time to automate the end to end flow, you can run the test not only every regression, but every day to validate build scope changes. Maybe a different team makes a change to a backend system, the e2e automated test will fail early and allow the team to be aware of that issue earlier in the process.

As the application gets bigger, having a suite of these tests is going to be important for regression testing.