Weitere Kapitel dieses Buchs durch Wischen aufrufen
Because the vast majority of manual tests is done through the UI, and on a complete system that attempts to mimic the production environment as much as possible, it is often assumed that this is also the right approach for automated tests. However, as we already discussed in Chapter 2, there are different considerations for manual tests and for automated ones. In this chapter we’ll discuss some strategic considerations about the architecture of the test automation. As we’ll see, the considerations about the architecture of the test automation are tightly related to the architecture of the SUT.
Bitte loggen Sie sich ein, um Zugang zu diesem Inhalt zu erhalten
Sie möchten Zugang zu diesem Inhalt erhalten? Dann informieren Sie sich jetzt über unsere Produkte:
WYSIWYG stands for What you see is what you get. This means that when you edit something you see the result immediately. MS-Word is a great example: as you type you see how the document will look like when printed.
MV* refer to any of the following design patterns: MVC (Model-View-Controller), MVP (Model-View-Presenter) or MVVM (Model-View-View Model).
Some purists would say (according to Gerard Meszaros book “xUnit Test Patterns”, and mentioned in Martin Fowler’s blog at https://martinfowler.com/bliki/TestDouble.html ) that this is not the correct definition of Mocking, but rather the definition of a Test Double or more specifically of Fake. Test Double is a generic term, which includes Dummies, Fakes, Stubs, Spies and Mocks. However, even though according to this terminology, “mock” is a very specific use of Test Double, it is the most widely used term, even in its more generic meaning.
Mike Cohn, Succeeding with Agile: Software Development Using Scrum (Boston, Massachusetts, United States: Addison-Wesley Professional, 2009)
A Race-condition is a case where the state of a system is dependent on the sequence or timing of asynchronous events. It becomes a bug if it brings the system to a state that the programmer did not anticipate or handle correctly.
- Test Automation and Architecture
- Chapter 6
Neuer Inhalt/© ITandMEDIA