TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: I am QA, How do I learn to code?

9 点作者 ankitgarg43大约 10 年前
I have been working as a QA for a while now and never had to write much code. Now our QA department is moving towards automating Test. I have to contribute but I don't know the best way to proceed on how to learn to code. Please help me.

5 条评论

penguinlinux大约 10 年前
Obey The Testing Goat!. Get yourself the book Test-Driven Development with Python. It will turn you into a an automated testing wizard. it is a great book and you will learn in no time how to run your automated tests. Then learn Docker and be amazed on how you can use Docker + Jenkins to do automated testing. You will be a God among the QA team and the devs will have lots of respect for you.
评论 #9497766 未加载
mundo大约 10 年前
Speaking as someone who was once in your shoes, by far the fastest way to learn to write automated test cases is to learn from existing ones. Suppose someone more senior than you has written a test that does this:<p>- Set up the framework and connect to the app under test - enter &quot;fred&quot; in the username field - enter &quot;derf&quot; in the password field - click the Submit button - verify that the login is successful<p>Then if you copy-paste that test and spend some time experimenting with it, you can probably turn it into a test that enters an incorrect password and verifies that it is unsuccessful without really doing any actual &quot;coding&quot;. That&#x27;s the best way to contribute while you come up to speed - the more cases you write, the more comfortable you will get with the language and with the framework.<p>If you don&#x27;t have someone senior to copy off of, you can still do it, it&#x27;ll just go slower. &quot;How do I get selenium to click a button&quot; plus an afternoon will get you well underway. Steer clear of any &quot;programming fundamentals&quot; - you don&#x27;t need to understand classes and interfaces and the difference between &quot;final&quot; and &quot;static&quot; yet, you just need enough basic syntax to get some simple tests built so you can experiment with them.<p>Good luck!
trcollinson大约 10 年前
The way I learned was through books and BBS&#x27;s but that may not be as applicable anymore. What type of environment do you work on? Languages, frameworks, and tools?<p>I would suggest if you have the option that you pair with one of the programmers at your company. One of the best ways to learn is to jump right in and do it with someone more senior than you are. If they are willing to take a few minutes or hours a day to allow you to really pair with them, you&#x27;ll learn quickly!
mercnet大约 10 年前
I recommend going through this python tutorial: <a href="http:&#x2F;&#x2F;automatetheboringstuff.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;automatetheboringstuff.com&#x2F;</a>
anon3_大约 10 年前
A QA is a squire. Squires become knights.<p>You get to see the code and architectural decisions your engineers make when you move into automated testing. In many cases, you&#x27;re in a position to be paid to learn.<p>What programming language &#x2F; framework is the code in?