You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- I'm speaking specifically of acceptance tests, not unit tests. At any rate, I'm not going to have the opportunity to alter the departmental structure of the company. Need a solution that works with both developers and "developers in test". That said, how would you do your screenshot example before there was something to screenshot? There's actually a LOT of our automated tests that do this, but before anything like that can be automated there has to be something to take a screenshot of.Edward Strange– Edward Strange2011-06-20 02:49:09 +00:00Commented Jun 20, 2011 at 2:49
- @Crazy Eddie: TDD defines tests for user stories which define the features of the application. The terminology of 'unit test' is often used in this context, but it does not have the same limited meaning that it would in a purely unit-testing methodology (where code coverage would matter, for example). TDD tests features, and scales up to the acceptance-testing level. The use of the term 'unit testing' in the literature is a regrettable point of confusion for many people. As for the screenshot, you have to run the thing successfully once so that approach is only good for regression testing.Steven A. Lowe– Steven A. Lowe2011-06-20 02:52:58 +00:00Commented Jun 20, 2011 at 2:52
- @Crazy Eddie: with a name like Crazy Eddie, I would expect you to be the champion of challenging pointless inefficient cycles of failure ;-) [yes i read your blog]. Seriously though, nothing is going to change because the developers feel no pain. Let them feel the pain - or maybe offer them some kind of reward for helping - and they will come up with a solution for automated testing, and/or starting writing code that is easier to test.Steven A. Lowe– Steven A. Lowe2011-06-20 02:56:03 +00:00Commented Jun 20, 2011 at 2:56
- The difference that I see as being most important from my perspective is that they require different areas of expertise. A unit test can, and often is, written in the same language as the application bits they test. Automated acceptance testing on the other hand makes use of whatever language the particular software used to drive the UI responds to. They require different architectures as well, as at least our testers have developed huge libraries of reusable components they adapt for specific needs. Just like a team can involve DB experts vs. code, it seems fine to have test experts.Edward Strange– Edward Strange2011-06-20 03:00:17 +00:00Commented Jun 20, 2011 at 3:00
- I guess this solves the issue of keeping developers busy while tests are done though. Even if it takes them longer for any given task, it could be worthwhile. I may very well not get the buy in I need though and I imagine the problem to just keep resurfacing until we can figure out how to get the tests written ahead of time or at least in sync. I still don't see any way to solve this issue as the requirement of having something there to drive seems to be a prerequisite of the automation problem.Edward Strange– Edward Strange2011-06-20 03:05:17 +00:00Commented Jun 20, 2011 at 3:05
| Show 8 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you