资讯详情

通过游戏,ACCU和乌克兰进行测试

For several weeks I’ve been preparing a playtesting blank solution that contains integration tests based on Unity Test Tools and stubs for game objects.

在过去的几周里,我一直在准备一个基于游戏测试的空白解决方案Unity综合测试测试工具和游戏对象的存根。

Earlier this month, I was lucky enough to have the opportunity to present it at a workshop held at one of the best programming conferences in the world – ACCU conference. Each year, ACCU attracts top speakers from the computing community including Andrei Alexandrescu, James Coplien, Tom Gilb, Robert Martin, Kevlin Henney, Andrew Koenig, Eric S. Raymond, Guido van Rossum, Greg Stein, Bjarne Stroustrup and Herb Sutter.

本月初,我很幸运有机会参加世界上最好的编程会议之一-ACCU在会议上举行的研讨会上介绍。 每年,ACCU计算机行业的顶尖演讲者,包括Andrei Alexandrescu , James Coplien , Tom Gilb , Robert Martin , Kevlin Henney , Andrew Koenig , Eric S.Raymond , Guido van Rossum , Greg Stein , Bjarne Stroustrup和Herb Sutter 。

Workshop attendees got access to the project source files which they could then work on in Unity. Scenes that contain tests are called “Level1”, “Level2” and so on. When you open the scene, the tests fail. The challenge is to start implementing functionality to make tests pass, and as you do so, the game starts growing.

参加研讨会的人可以访问项目源文件,然后在Unity中间处理。 包含测试的场景称为 Level1”,“ Level按此类推。 当您打开场景时,测试将失败。 挑战是开始实现通过测试的功能,随着游戏的发展,游戏开始发展。

When all the tests pass, you can proceed to the next level, and the process itself is like a game. After completing each level you can open the scene called “Game” and try it out.

当所有测试都通过时,你可以进入下一个水平,过程本身就像一个游戏。 在完成每个级别后,您可以打开所谓的游戏场景并尝试。

If you’d like to play around with it, the Growing Games Guided by Tests project is available on GitHub. The game involves building an ultimate weapon of intergalactic destruction to fight back an invasion by green aliens: Have fun!

如果您想使用它, 可以在GitHub在测试指导下找到成长游戏项目。 为了抵抗绿色外星人的入侵,游戏涉及到建造星际破坏的终极武器:玩得开心!

Solution packages are available for each level. If you get stuck, just navigate to the Solutions folder and open the package with the corresponding level name. Using these solutions you can navigate back and forth within the exercise. “Level 0” reverts the solution to its initial state.

各级都有解决方案包。 如遇问题,只需导航到解决方案文件夹,然后打开具有相应级别名称的软件包即可。 使用这些解决方案,你可以在练习中来回导航。 等级0将解决方案恢复到初始状态。

photo

My workshop gimmick is to trade chocolate coins for audience attention. If someone asks me a question or points to a mistake, I give them a chocolate coin in exchange. As it was a live coding session, I made both intentional and unintentional mistakes but the audience always noticed them.

我的工作坊头是交易巧克力硬币,以引起观众的注意。 如果有人问我一个问题或指出一个错误,我会给他们一个巧克力硬币作为交换。 因为这是现场编码会议,我犯了有意无意的错误,但观众总是注意到。

They also asked lots of questions, even asking me to show how the tests were made and how to make one from scratch. That input that will let me make my next workshop much better. By the end I was right out of chocolate coins. Thanks guys!

他们还问了很多问题,甚至让我展示如何测试,如何从头开始。 这些输入将使我的下一个研讨会更好。 最后,我没有巧克力硬币。 多谢你们!

On the conference’s second day I volunteered to hold a lightning talk: “Public Speaking for Geeks.” I’ve been holding talks since 2011, and when I delivered my first conference address it didn’t go smoothly. Actually, it was a failure.But I’ve learned a lot since then and I wanted to inspire people to try public speaking, learn from their experience and try again.

会议第二天,我自愿举行闪电演讲:为极客公开演讲。 自2011年以来,我一直在举行会谈,当我发表第一次会议演讲时,进展并不顺利。 事实上,这是一次失败。 但从那以后,我学到了很多东西,我想激励人们尝试公开演讲,学习他们的经验,重新尝试。

As you might already know, Unity Technologies has an office in Odessa, Ukraine; a beautiful city on the Black Sea coast. The Odessa office is home to 11 engineers from 3 teams: SDET, STE and Toolsmiths, and it’s where I’m based.

你可能已经知道了,Unity Technologies在乌克兰的敖德萨设有办事处。 黑海沿岸一个美丽的城市。 敖德萨办事处设有SDET,STE和Toolsmiths 3个团队的11名工程师,是我的基地。

Ten minutes before my lightning talk, I got a message from my friend Tom Gilb: “Forget public speaking. Tell them about Ukraine!” It came as a shock. I suddenly realized how much I wanted to tell the truth about Ukraine, to tell people what has happened and how it affects us.

在闪电演讲前十分钟,我收到了朋友汤姆·吉尔布(​​Tom Gilb)的信息:“忘了公开演讲。 告诉他们乌克兰!” 令人震惊。 我突然意识到,我想讲些关于乌克兰的真相,告诉人们发生了什么以及它如何影响我们。

In a strange way this helped keep me calm and meant that my Public Speaking for Geeks address went well. Already, I had another idea for a talk I really wanted to hold.

这以一种奇怪的方式使我保持镇定,这意味着我的公开演讲“极客”演讲进展顺利。 我已经真正想进行一次演讲了。

The feedback I received after my Geek talk was very positive, and a number of people approached me the following day and told me that, after hearing my talk, they had also submitted lightning talk proposals. And that gave me extra motivation to talk about Ukraine.

我在极客谈话后收到的反馈是非常积极的,第二天有很多人与我联系,并告诉我,在听完我的谈话后,他们还提交了闪电谈话建议。 这给了我更多的动力来谈论乌克兰。

In the end, the act of explaining the situation in my homeland to my audience made my talk a very emotional occasion, not least because of the feedback and support I received from so many people. ACCU, I already miss you.

最后,向听众解释我的祖国局势的举动使我的演讲充满了感动,这不仅是因为我得到了很多人的反馈和支持。 ACCU,我已经想念你了。

翻译自: https://blogs.unity3d.com/2014/04/24/testing-by-gaming-accu-and-ukraine/

标签: 300kg传感器accu

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

锐单商城 - 一站式电子元器件采购平台