Do you know, that keyword 'new' can be used in a definition of class members? I knew about it, but have never used it for many years I work in the software industry. But recently I have found a couple of scenarios, where this opportunity is very useful. Here I want to share my findings.
Tuesday, August 22, 2017
Wednesday, August 16, 2017
Verification of complex objects in automated tests
Sometimes in automation tests we need to validate work of methods, returning very complex objects as a result. We want to be sure, that these objects have correct structure. Common assertion libraries allow us to check our expectation about simple objects (strings, numbers), and collections of objects of primitive types. But it can happen, that we need more.
Subscribe to:
Posts (Atom)