Hot answers tagged test-creation
5
There's no problem being BA+QA, but it looks that you're also an Architect in your project.
I see a direct evil in combining Architect and QA roles.
You have noticed for yourself every concern: the natural role of Architect is to stand up for idea that "the program is working". The natural role of QA is a direct opposite: to prove that "the program is not ...
5
Yes. I call them Contract Tests. One easy way to understand them:
Start with tests for a specific implementation of the interface. For example, consider ArrayList implements List. You write tests for ArrayList. One test could be this:
testEmptyIffZeroSize:
list = new ArrayList()
assert list.isEmpty()
assert_equals 0, list.size()
Notice that ...
3
stacky-bit, maybe Model-based testing approach is what you are looking for?
Using this approach, you can generate all possible "abstract tests" that are based on the model. Such approach can be used on, for instance, military projects with a lot of people (such case is described in Experiences of Test Automation Dorothy Graham & Mark Fewster)
The pros ...
3
This is surely the low bar, but there are ways to test Java beans automatically; see for example http://macbeantechnology.co.uk/blog/automate-testing-javabeans/.
I think the academic literature has a lot to say about about generating tests from specifications. A Google search of "generate tests from formal specification" will turn up lots of results; see ...
3
First of all, it is understandable that a former developer might approach testing in terms of individually testable layers or sub-components. However, as a tester, if you do nothing else, you must verify that the finished product behaves correctly when exercised using whatever interfaces the end-user will use. Everything else is secondary to that -- ...
2
If I were in your shoes, I would thing about adding another person to test, in addition to yourself. It sounds like you are already doing a good job with accepting the story/feature, but have a little "author blindness" which leads to missing some minor issues. Adding another set of eyes will benefit the quality, while not losing your expertise.
1
This sounds like you might need to build some custom code, I haven't heard of anything that does this off the shelf, for any language. However, here's an approach I think might work;
Assuming your using well structured objects, create a facade object that wraps the behaviour of the class under test, and present the facade to your normal application. ...
1
Is a page URL a property of the Page Object ? What if a number of different URLs lead to the same page ? Also, what if the URL is used to pass some parameters, do you if at all deal with that ?
Most of my pages don't know (or care) about the URLs that lead to them. When I have pages that I want to jump to directly (rather than navigating to by ...
Only top voted, non community-wiki answers of a minimum length are eligible