Robot Name Test case there can be many robots
See original GitHub issuehttps://github.com/exercism/xecmascript/blob/master/exercises/robot-name/robot-name.spec.js#L28
This test is assuming global state of usedNames
. In JS5 this this the way it is because var is global. I don’t think that should be the case for ES6+. I think part of it is that the class name is Robot instead of RobotName. Something like usedName or similar should be encapsulated inside the class to avoid global state.
related: https://github.com/exercism/xjavascript/issues/105 https://github.com/exercism/xjavascript/blob/master/exercises/robot-name/robot-name.spec.js#L35
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
Robot Framework User Guide
Robot Framework is a Python-based, extensible keyword-driven automation framework for acceptance testing, acceptance test driven development (ATDD), behavior ...
Read more >NAME THAT ROBOT QUIZ - Can you guess them all? - YouTube
Test your knowledge of robots with my Name That Robot quiz. It starts off easy but quickly gets more and more difficult.
Read more >How to write good test cases using Robot Framework - GitHub
General guidelines for writing good test cases using Robot Framework ... If a suite contains many similar tests and is well named, test...
Read more >Getting Started with Robot Framework – Basic Concepts
This article will show you the basics of Robot Framework. ... The test case name in this example is Display iPhone Search Results....
Read more >Robot Framework: The Ultimate Guide to Running Your Tests
This blog post will give an overview of the Robot Framework and explain how to create your Selenium tests in Robot as well....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rchavarria said:
from this comment
I just wanted to answer “yes” to that doubt. It is possible. Here is an example of doing such a thing.
I think since the practitioner is going to edit the tests, they are likely to comment out the skips as they are used to doing, they are going to be in that file, when their tests fail, and that test doesn’t look like the others, they are likely to read the comments. Or at least more likely, at that point.
People are funny though, sometimes they can’t see the ketchup in the door for the ketchup on the second shelf of the fridge.