| |
|
|
|
|
|
|
|
|
1. |
Record Nr. |
UNINA9910458691303321 |
|
|
Autore |
Grzejszczak Marcin |
|
|
Titolo |
Mockito cookbook : over 65 recipes to get you up and running with unit testing using Mockito / / Marcin Grzejszczak ; cover image by Poonam Nayak |
|
|
|
|
|
|
|
Pubbl/distr/stampa |
|
|
Birmingham, [England] : , : Packt Publishing, , 2014 |
|
©2014 |
|
|
|
|
|
|
|
|
|
ISBN |
|
|
|
|
|
|
Edizione |
[1st edition] |
|
|
|
|
|
Descrizione fisica |
|
1 online resource (284 p.) |
|
|
|
|
|
|
Disciplina |
|
|
|
|
|
|
Soggetti |
|
Computer interfaces |
User interfaces (Computer systems) |
Electronic books. |
|
|
|
|
|
|
|
|
Lingua di pubblicazione |
|
|
|
|
|
|
Formato |
Materiale a stampa |
|
|
|
|
|
Livello bibliografico |
Monografia |
|
|
|
|
|
Note generali |
|
"Quick answers to common problems"--Cover. |
Includes index. |
|
|
|
|
|
|
|
|
Nota di contenuto |
|
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Mockito; Introduction; Adding Mockito to a project's classpath; Getting started with Mockito for JUnit; Getting started with Mockito for TestNG; Mockito best practices - test behavior not implementation; Adding Mockito hints to exception messages (JUnit) (Experimental); Adding additional Mockito warnings to your tests (JUnit) (Experimental); Chapter 2: Creating Mocks; Introduction; Creating mocks in code; Creating mocks with annotations |
Creating mocks with a different default answerCreating mocks with different default answers with annotations; Creating mocks with custom configuration; Creating mocks of final classes with PowerMock; Creating mocks of enums with PowerMock; Chapter 3: Creating Spies and Partial Mocks; Introduction; Creating spies in code; Creating spies with custom configuration; Creating spies using annotations; Creating partial mocks; Creating partial mocks of final classes with delegatesTo(); Creating spies of final classes with PowerMock; Chapter 4: Stubbing Behavior of Mocks; Introduction |
|
|
|
|
|
|
|
|
|
|
|
Using argument matchers for stubbingStubbing methods that return values; Stubbing methods so that they throw exceptions; Stubbing methods so that they return custom answers; Stubbing methods so that they call real methods; Stubbing void methods; Stubbing void methods so that they throw exceptions; Stubbing void methods so that they return custom answers; Stubbing void methods so that they call real methods; Stubbing final methods with PowerMock; Stubbing static methods with PowerMock; Stubbing object instantiation using PowerMock; Chapter 5: Stubbing Behavior of Spies; Introduction |
Stubbing methods that return valuesStubbing methods so that they throw exceptions; Stubbing methods so that they return custom answers; Stubbing void methods; Stubbing void methods so that they throw exceptions; Stubbing void methods so that they return custom answers; Stubbing final methods with PowerMock; Chapter 6: Verifying Test Doubles; Introduction; Verifying the method invocation count with times(); Verifying the method invocation count with atLeast(); Verifying the method invocation count with atMost(); Verifying that interactions never happened |
Verifying that interactions stopped happeningVerifying the order of interactions; Verifying interactions and ignoring stubbed methods; Verifying the method invocation within time; Chapter 7: Verifying Behavior with Object Matchers; Introduction; Using Hamcrest matchers for assertions; Creating custom Hamcrest matchers; Using Hamcrest matchers for stubbing and verification; Using AssertJ for assertions; Creating custom AssertJ assertions; Capturing and asserting the argument; Chapter 8: Refactoring with Mockito; Introduction; Removing the problems with instance creation |
Refactoring classes that do too much |
|
|
|
|
|
|
Sommario/riassunto |
|
This is a focused guide with lots of practical recipes with presentations of business issues and presentation of the whole test of the system. This book shows the use of Mockito's popular unit testing frameworks such as JUnit, PowerMock, TestNG, and so on. If you are a software developer with no testing experience (especially with Mockito) and you want to start using Mockito in the most efficient way then this book is for you. This book assumes that you have a good knowledge level and understanding of Java-based unit testing frameworks. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. |
Record Nr. |
UNINA9910956928403321 |
|
|
Autore |
Bruckner Reinhard <1955-> |
|
|
Titolo |
Advanced organic chemistry : reaction mechanisms / / Reinhard Bruckner |
|
|
|
|
|
|
|
Pubbl/distr/stampa |
|
|
San Diego, : Harcourt/Academic Press, c2002 |
|
|
|
|
|
|
|
ISBN |
|
9786611466794 |
9781281466792 |
1281466794 |
9780080498805 |
0080498809 |
|
|
|
|
|
|
|
|
Edizione |
[1st ed.] |
|
|
|
|
|
Descrizione fisica |
|
1 online resource (661 p.) |
|
|
|
|
|
|
Collana |
|
Advanced organic chemistry series |
|
|
|
|
|
|
Disciplina |
|
|
|
|
|
|
Soggetti |
|
Organic reaction mechanisms |
|
|
|
|
|
|
Lingua di pubblicazione |
|
|
|
|
|
|
Formato |
Materiale a stampa |
|
|
|
|
|
Livello bibliografico |
Monografia |
|
|
|
|
|
Note generali |
|
Description based upon print version of record. |
|
|
|
|
|
|
Nota di bibliografia |
|
Includes bibliographical references and index. |
|
|
|
|
|
|
Nota di contenuto |
|
Front Cover; Advanced Organic Chemistry; Copyright Page; Contents; Foreword; Preface to the English Edition; Preface to the German Edition; Acknowledgments; Chapter 1. Radical Substitution Reactions at the Saturated C Atom; 1.1 Bonding and Preferred Geometries in C Radicals, Carbenium Ions and Carbanions; 1.2 Stability of Radicals; 1.3 Relative Rates of Analogous Radical Reactions; 1.4 Radical Substitution Reactions: Chain Reactions; 1.5 Radical Initiators; 1.6 Radical Chemistry of Alkylmercury(II) Hydrides; 1.7 Radical Halogenation of Hydrocarbons; 1.8 Autoxidations |
1.9 Defunctionalizations via Radical Substitution ReactionsReferences; Chapter 2. Nucleophilic Substitution Reactions at the Saturated C Atom; 2.1 Nucleophiles and Electrophiles; Leaving Groups; 2.2 Good and Poor Nucleophiles; 2.3 Leaving Groups and the Quality of Leaving Groups; 2.4 SN2 Reactions: Kinetic and Stereochemical Analysis-Substituent Effects on Reactivity; 2.5 SN1 Reactions: Kinetic and Stereochemical Analysis; Substituent Effects on Reactivity |
2.6 When Do SN Reactions at Saturated C Atoms Take Place According to the SN1 Mechanism and When Do They Take Place According to the SN2 Mechanism?2.7 Unimolecular SN Reactions That Do Not Take Place |
|
|
|
|
|
|
|
|
|
|
|
via Simple Carbenium Ion Intermediates: Neighboring Group Participation; 2.8 Preparatively Useful SN2 Reactions: Alkylations; References; Chapter 3. Additions to the Olefinic C=C Double Bond; 3.1 The Concept of cis and trans Addition; 3.2 Vocabulary of Stereochemistry and Stereoselective Synthesis I; 3.3 Additions That Take Place Diastereoselectivity as cis Additions |
3.4 Enantioselective cis Additions to C=C Double Bonds3.5 Additions That Take Place Diastereoselectively as trans Additions (Additions via Onium Intermediates); 3.6 Additions That Take Place or Can Take Place without Stereocontrol Depending on the Mechanism; References; Chapter 4. ß-Eliminations; 4.1 Concepts of Elimination Reactions; 4.2 b-Eliminations of H/Het via Cyclic Transition States; 4.3 b-Eliminations of H/Het via Acyclic Transition States: The Mechanistic Alternatives; 4.4 E2 Eliminations of H/Het and the E2/SN2 Competition |
4.5 E1 Elimination of H/Het from Rtert-X and the E1/SN1 Competition4.6 E1cb Eliminations; 4.7 ß-Eliminations of Het1/Het2; References; Chapter 5. Substitution Reactions on Aromatic Compounds; 5.1 Electrophilic Aromatic Substitutions via Wheland Complexes (""Ar-SE Reactions""); 5.2 Ar-SE Reactions via Wheland Complexes: Individual Reactions; 5.3 Electrophilic Substitution Reactions on Metallated Aromatic Compounds; 5.4 Nucleophilic Substitution Reactions in Aryldiazonium Salts; 5.5 Nucleophilic Substitution Reactions via Meisenheimer Complexes |
5.6 Nucleophilic Aromatic Substitution via Arynes, cine Substitution |
|
|
|
|
|
|
Sommario/riassunto |
|
A best-selling mechanistic organic chemistry text in Germany, this text's translation into English fills a long-existing need for a modern, thorough and accessible treatment of reaction mechanisms for students of organic chemistry at the advanced undergraduate and graduate level. Knowledge of reaction mechanisms is essential to all applied areas of organic chemistry; this text fulfills that need by presenting the right material at the right level. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3. |
Record Nr. |
UNINA9911028620303321 |
|
|
Autore |
Friedrichs Werner |
|
|
Titolo |
(Post-)Apokalyptische Bildungsmaschinen : Wie politische Bildung Zukunft produziert / Werner Friedrichs |
|
|
|
|
|
|
|
Pubbl/distr/stampa |
|
|
Frankfurt am Main, : Wochenschau Verlag, 2025 |
|
|
|
|
|
|
|
ISBN |
|
|
|
|
|
|
Edizione |
[1st ed.] |
|
|
|
|
|
Descrizione fisica |
|
1 online resource (178 pages) |
|
|
|
|
|
|
Collana |
|
|
|
|
|
|
Soggetti |
|
Bildungsapparat |
Posthumanismus |
Apparate |
Diskurstheorie |
Bildungssystem |
Transformation |
Gesellschaftskritik |
Bildung und Macht |
techno-politische Ordnungen |
Zukunftsproduktion |
|
|
|
|
|
|
|
|
Lingua di pubblicazione |
|
|
|
|
|
|
Formato |
Materiale a stampa |
|
|
|
|
|
Livello bibliografico |
Monografia |
|
|
|
|
|
Nota di contenuto |
|
Vorrede Prolog: Vorwärts – rückwärts – vorwärts Gesellschafts-, Vermittlungs- und Zeigemaschinen Gegen taumelnde Aufklärer*innen: Den Sinn der Maschine verdichten Kalte Erziehung? Pädagogische Probleme mit der Technik Liebe ihr Maschinistisches wie die Welt selbst! Weiter, weiter, weiter: ignorante Futurdizee Funktionsstörungen der Futurdizee Futurdizee als hegemonialer, epistemischer Reflex Vor der Zukunft, vor Anrufungen und Prophezeiungen, inmitten der Maschine: transversale, atopisch-didaktische Zukunftsforensik Die Geburt zukünftiger Realität aus dem Experimentalapparat Good Apparatus – Bad Apparatus Vom experimentellen zum didaktischen Apparat Von Problemen zu Störungen (der Maschinen und Apparate) Der stotternde Welterzeugungsapparat Ghost in the machine: Alte Nutzungsideen in erneuerten Apparaten? Weltmaschinendämmerung |
|
|
|
|
|
|
|
|
|
|
|
Am Ende geht es los Maschinelle Eskalation Orientierungen für Maschinist*innen Mechanismen affirmativ|kritisch tracken Zukünftige Strategien Epilog: Was|Wie oder Wie|Was? Literatur |
|
|
|
|
|
|
Sommario/riassunto |
|
Angesichts aktueller Verwerfungen werden Mahnungen lauter, Politische Bildung und Zukunft anders zu denken. Ausgetretene Pfade müssten verlassen werden, um für das Kommende gerüstet zu sein. Hinderlich ist dabei offensichtlich, dass uns tradierte, humanistisch geprägte Schemata mit Ideen davon versorgen, was zu tun sei und woran wir uns zu orientieren hätten. Sie eröffnen ein Vermittlungsszenario, in der zum Handeln angehaltene, autonome Subjekte über ihre Möglichkeiten aufgeklärt werden. Der vorliegende Text rekonstruiert dagegen jenseits angestammter Denkfiguren Politische Bildung als materiellen Vermittlungsapparat, der in einem maschinistischen Gefüge Zukunft produziert. |
|
|
|
|
|
|
|
| |